mirror of
https://github.com/ceres-solver/ceres-solver.git
synced 2026-08-29 08:34:37 +08:00
Fix typo in Misra1c NIST problem.
The exponent is -0.5, not 0.5. Change-Id: I77c7bd2ed2b9b20e83d830f74c73088c1b3b3435
This commit is contained in:
+1
-1
@@ -242,7 +242,7 @@ NIST_END
|
||||
|
||||
// y = b1 * (1-(1+2*b2*x)**(-.5)) + e
|
||||
NIST_BEGIN(Misra1c)
|
||||
b[0] * (T(1.0) - pow(T(1.0) + T(2.0) * b[1] * x, 0.5))
|
||||
b[0] * (T(1.0) - pow(T(1.0) + T(2.0) * b[1] * x, -0.5))
|
||||
NIST_END
|
||||
|
||||
// y = b1*b2*x*((1+b2*x)**(-1)) + e
|
||||
|
||||
Reference in New Issue
Block a user