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
> air density
air: Average molecular weight of air. density = 1 kilogram / meter^3
> gold density
gold: density = 1 kilogram / meter^3
> silver density
silver: density = 1 kilogram / meter^3
The text was updated successfully, but these errors were encountered:
Okay, that's pretty bad. It's multiplying air by density to make density amount of air, and density is a physical quantity. The substance printer then prints the amount and uses the quantity name instead of "amount".
The correct query would be using the of operator, but it looks like rink doesn't actually know the density of any of those substances.
I need to make physical quantities exist in a separate namespace from regular units. Maybe I could even make it so that multiplying a unit by a quantity works the same as the of operator.
whitequark
changed the title
density properties seem broken
Physical quantities should exist in a separate namespace than units
Feb 12, 2017
Makes quantities occupy a different namespace from units. This means you can no longer write them in expressions as though they were units, which was confusing.
Fixes#12, which is one of the longest standing bugs in Rink.
The text was updated successfully, but these errors were encountered: