Unittest are not passing any more ... numdiff errors !
mansard@koyasan:unittest [15:14] ipython test_costs.py -i Python 2.7.12 (default, Nov 12 2018, 14:36:49) Type "copyright", "credits" or "license" for more information.
IPython 5.8.0 -- An enhanced Interactive Python. ? -> Introduction and overview of IPython's features. %quickref -> Quick reference. help -> Python's own help system. object? -> Details about 'object', use 'object??' for extra details.
AssertionError Traceback (most recent call last) /home/nmansard/src/crocoddyl/unittest/test_costs.py in () 420 421 mnum.calcDiff(dnum,x,u) --> 422 assert( norm(data.Fx-dnum.Fx) < 1e2mnum.disturbance ) 423 assert( norm(data.Fu-dnum.Fu) < 1e2mnum.disturbance ) 424 assert( norm(data.Lx-dnum.Lx) < 1e2*mnum.disturbance )
AssertionError:
In [1]: norm(data.Fx-dnum.Fx) Out[1]: 3.18360292814774e-06
In [2]: mnum.disturbance Out[2]: 2.1073424255447017e-08