Skip to content

Commit d5d0be4

Browse files
authored
Fix check to see if solver is initialized
#238
1 parent 4b0f132 commit d5d0be4

File tree

1 file changed

+1
-1
lines changed
  • Assets/HoloToolkit-Examples/SpatialUnderstanding/SpatialUnderstanding-FeatureOverview/Scripts

1 file changed

+1
-1
lines changed

Assets/HoloToolkit-Examples/SpatialUnderstanding/SpatialUnderstanding-FeatureOverview/Scripts/LevelSolver.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -459,7 +459,7 @@ public bool InitializeSolver()
459459
return IsSolverInitialized;
460460
}
461461

462-
if (SpatialUnderstandingDllObjectPlacement.Solver_Init() > 1)
462+
if (SpatialUnderstandingDllObjectPlacement.Solver_Init() == 1)
463463
{
464464
IsSolverInitialized = true;
465465
}

0 commit comments

Comments
 (0)