I’m getting the following error messages. Is it safe to ignore it?
Thanks
Running doctests
…F… [100%]
======================================================= FAILURES =======================================================_______________________________ [doctest] brian2.stateupdaters.explicit.split_expression _______________________________054 function-independent terms and terms involving f
) and the
055 stochastic part of the expression (terms involving g
and/or dW
).
056
057 Examples
058 --------
059 >>> split_expression(‘dt * __f(__x, __t)’)
060 (dt*__f(__x, __t), None)
061 >>> split_expression(‘dt * __f(__x, __t) + __dW * __g(__x, __t)’)
062 (dt*__f(__x, __t), __dW*__g(__x, __t))
063 >>> split_expression('1/(2dt**.5)(__g_support - __g(__x, __t))(__dW2)’)
Expected:
(0, __dW2__g_supportdt**(-0.5)/2 - __dW**2dt**(-0.5)__g(__x, __t)/2)
Got:
(0, __dW**2__g_support/(2dt0.5) - __dW2__g(__x, __t)/(2*dt**0.5))
/home/wxie/anaconda3/lib/python3.8/site-packages/brian2/stateupdaters/explicit.py:63: DocTestFailure
=================================================== warnings summary ===================================================core/operations.py::brian2.core.operations.network_operation
/home/wxie/anaconda3/lib/python3.8/site-packages/brian2/core/clocks.py:95: DeprecationWarning: np.float
is a deprecated alias for the builtin float
. To silence this warning, use float
by itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, use np.float64
here.
Deprecated in NumPy 1.20; for more details and guidance: NumPy 1.20.0 Release Notes — NumPy v1.23.dev0 Manual
dtype=np.float, read_only=True, constant=True,
monitors/spikemonitor.py::brian2.monitors.spikemonitor.EventMonitor.