Upgrading nalgebra 0.29 to 0.30
Breaking0.29.0 → 0.30.1Breaking4New13Changed4Fixed6
BreakingUpgrade verdict
4 breaking changes.
In plain terms
- Unbounded number types can now implement the real-number trait.
- Code that implements or uses the dimension trait must now treat it as unsafe.
- Raising a matrix to a negative power no longer works directly; invert the matrix first.
- The complex-number trait again requires conversion from primitive types.
Must act Top 3 of 4 that need code or config changes
Adds cust ^0.2.
Installs 131 packages in all (was 123).
What you must change
Breaking4
Removes the
Bounded requirement from RealField, replacing it with methods returning Option<Self>.RealFieldBoundedThe
Dim trait is now marked as unsafe.DimMatrix::pow and Matrix::pow_mut now only accept positive integer exponents.Matrix::powMatrix::pow_mutComplexField derives from FromPrimitive again.ComplexFieldFromPrimitive