Skip to content

Commit

Permalink
Fix compiler error introduced by cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
minnerbe committed Nov 23, 2023
1 parent fca9903 commit b116c97
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ protected GlobalSolve globalSolve(
for ( int a = 0; a < allSolveItems.size() - 1; ++a )
{
final SolveItemData< ? extends Affine2D< ? >, ? extends Affine2D< ? >, ? extends Affine2D< ? > > solveItemA = allSolveItems.get( a );
solveItemDataToTile.putIfAbsent(solveItemA, new Tile<>(solveItemA.globalSolveModelInstance())); //TODO: how comes I can init a Tile with Affine2D???
solveItemDataToTile.putIfAbsent(solveItemA, new Tile(solveItemA.globalSolveModelInstance())); //TODO: how comes I can init a Tile with Affine2D???

for ( int z = solveItemA.minZ(); z <= solveItemA.maxZ(); ++z )
{
Expand All @@ -268,7 +268,7 @@ protected GlobalSolve globalSolve(
for ( int b = a + 1; b < allSolveItems.size(); ++b )
{
final SolveItemData< ? extends Affine2D< ? >, ? extends Affine2D< ? >, ? extends Affine2D< ? > > solveItemB = allSolveItems.get( b );
solveItemDataToTile.putIfAbsent(solveItemB, new Tile<>(solveItemB.globalSolveModelInstance()));
solveItemDataToTile.putIfAbsent(solveItemB, new Tile(solveItemB.globalSolveModelInstance()));

LOG.info( "globalSolve: solveItemB z range is {} to {}", solveItemB.minZ(), solveItemB.maxZ());

Expand Down Expand Up @@ -385,7 +385,7 @@ protected GlobalSolve globalSolve(
final SolveItemData< ? extends Affine2D< ? >, ? extends Affine2D< ? >, ? extends Affine2D< ? > > solveItemB =
solveItemA.createCorrespondingDummySolveItem( id, z );
zToSolveItemPairs.get( z ).add( new ValuePair<>( new ValuePair<>( solveItemA, solveItemB ), tileIds ) );
solveItemDataToTile.putIfAbsent(solveItemB, new Tile<>(solveItemB.globalSolveModelInstance()));
solveItemDataToTile.putIfAbsent(solveItemB, new Tile(solveItemB.globalSolveModelInstance()));

++id;

Expand Down

0 comments on commit b116c97

Please sign in to comment.