mirror of
https://github.com/ceres-solver/ceres-solver.git
synced 2026-08-29 16:40:38 +08:00
195d8d13a6
They were present as debugging checks but were causing problems with the build on 32bit i386 due to numerical cancellation issues, where x ~ -epsilon. Removing these checks only changes the behaviour in Debug mode. We are already handling such small negative numbers in production if they occur. All that this change does is to remove the crash. https://github.com/ceres-solver/ceres-solver/issues/212 Thanks to @NeroBurner and @debalance for reporting this. Change-Id: I66480e86d4fa0a4b621204f2ff44cc3ff8d01c04