mirror of
https://github.com/ceres-solver/ceres-solver.git
synced 2026-08-30 00:50:37 +08:00
a668cabbcf
norm allows to compute the squared magnitude both of complex and real numbers. While Jet does not support decaying of a std::complex to a scalar performed by norm, the function is still useful when applied to scalars alone for computing the square. Change-Id: I27a3513f53f37fb3960411362e80d170d1ae6f74