Open c3d opened 2 hours ago
If a unit is in an equation, then conversion fails.
If a unit is in a tagged object, the conversion fails.
Just like we have expression::as_expression, we need to have a unit::as_unit.
expression::as_expression
unit::as_unit
For simplicity, maybe use expression::get(obj) and unit::get(obj).
expression::get(obj)
unit::get(obj)
If a unit is in an equation, then conversion fails.
If a unit is in a tagged object, the conversion fails.