We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b99a291 commit 59e42eeCopy full SHA for 59e42ee
src/systems/validation.jl
@@ -197,4 +197,4 @@ validate(term::Symbolics.SymbolicUtils.Symbolic) = safe_get_unit(term,"") !== no
197
198
"Throws error if units of equations are invalid."
199
check_units(eqs...) = validate(eqs...) || throw(ValidationError("Some equations had invalid units. See warnings for details."))
200
-all_dimensionless(states) = all(map(x->safe_get_unit(x,"") in (unitless,nothing),states))
+all_dimensionless(states) = all(x->safe_get_unit(x,"") in (unitless,nothing),states)
0 commit comments