-
-
Notifications
You must be signed in to change notification settings - Fork 85
Open
Description
>>> from uncertainties import ufloat
>>> a = ufloat(1,1)
>>> b = ufloat(1,1)
>>> a+b
/indus/pflm/miniforge3/envs/teb2/lib/python3.14/site-packages/uncertainties/core.py:526: FutureWarning: AffineScalarFunc.error_components() is currently an instance method. This method is deprecated. In a future release it will be replaced with an instance property by the same name. It will be accessed by AffineScalarFunc.error_components (with no parentheses).
return float(sqrt(sum(delta**2 for delta in self.error_components().values())))
/indus/pflm/miniforge3/envs/teb2/lib/python3.14/site-packages/uncertainties/core.py:491: FutureWarning: AffineScalarFunc.derivatives() is deprecated. It will be removed in a future release.
for variable, derivative in self.derivatives.items():
2.0+/-1.4142135623730951
uncertainties version 3.2.4
python version 3.14.2
Running on Scientific Linux but also seen on macos for the same version of uncertainties and python version 3.11.9
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels