Upgrading nalgebra 0.20 to 0.21
Breaking0.20.0 → 0.21.1Breaking3New1Changed1
BreakingUpgrade verdict
3 breaking changes.
In plain terms
- Negating a unit complex number or unit quaternion directly no longer compiles; negate the result of the multiplication instead.
- Generic code that used the old alga traits must now use the equivalent simba traits.
- Code relying on alga trait implementations must enable the `alga` feature.
Must act 3 items need code or config changes
Adds simba ^0.1.
Installs 53 packages in all (was 49).
What you must change
Breaking3
Removes the
Neg unary operator implementation for UnitComplex and UnitQuaternion.NegUnitComplexUnitQuaternionReplaces alga traits such as
alga::general::{RealField, ComplexField} with simba::scalar::{RealField, ComplexField}.alga::general::RealFieldalga::general::ComplexFieldsimba::scalar::RealFieldsimba::scalar::ComplexFieldOmits alga trait implementations and the alga dependency unless the
alga cargo feature is enabled.alga