Skip to content

Conversation

@olbrich
Copy link
Owner

@olbrich olbrich commented Sep 26, 2018

When adding or subtracting two unitless numbers, the result used to be
converted to the same units as the receiver. This didn't work if the
receiver was unitless. The fix changes the way we do the conversion in
a way that is not subject to this problem.

Fixes #174

When adding or subtracting two unitless numbers, the result used to be 
converted to the same units as the receiver.  This didn't work if the 
receiver was unitless.  The fix changes the way we do the conversion in 
a way that is not subject to this problem.
@olbrich olbrich self-assigned this Sep 26, 2018
@olbrich olbrich merged commit 1f44b20 into master Sep 26, 2018
@kreintjes
Copy link
Contributor

kreintjes commented Oct 9, 2018

Nice, thanks for the quick fix @olbrich !

@olbrich olbrich deleted the 174-fix-unitless-addition-and-subtraction branch March 3, 2019 04:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Summing constants doesn't work any longer in 2.3

3 participants