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
# Checks if a symbolic variable is unitless. Also accounts for callable parameters (which
1551
-
#should not have units but for which `get_unit` is undefined: https://github.com/SciML/ModelingToolkit.jl/issues/3420).
1550
+
# Checks if a symbolic variable is unitless. Also accounts for callable parameters (for
1551
+
#which `get_unit`'s` intended behaviour (or whether it should generate an error) is undefined: https://github.com/SciML/ModelingToolkit.jl/issues/3420).
1552
1552
functionunitless_symvar(sym)
1553
1553
return (sym isa Symbolics.CallWithMetadata) || (ModelingToolkit.get_unit(sym) ==1)
0 commit comments