You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
IQuantity: Change IDivisionOperators, add Zero property
- Add `Zero` static abstract property, already implemented by all quantities.
- Remove redundant `IEqualityOperators` constraint, covered by `IComparisonOperators`.
- Change `IDivisionOperators` to divide by number instead of TSelf, needed for average calculation.
Got error trying to keep both IDivisionOperators declarations:
```
Interface 'UnitsNet.IArithmeticQuantity<TSelf,TUnitType,TValueType>' cannot implement both 'System.Numerics.IDivisionOperators<TSelf,TValueType,TSelf>' and 'System.Numerics.IDivisionOperators<TSelf,TSelf,TValueType>' because they may unify for some type parameter substitutions
```
0 commit comments