mirror of
https://github.com/ceres-solver/ceres-solver.git
synced 2026-08-30 00:50:37 +08:00
c0aa9a2631
Some rotation functions like UnitQuaternionRotatePoint, QuaternionRotatePoint, etc. will calculate bad results if the input point and output point points to the same memory (inplace operation). This CL adds checks in debug mode to guard against it. Change-Id: Id0a30e9a0286b340757f0790d417d9f9a3409810