Skip to content

Commit f51da0e

Browse files
Update validation.jl
1 parent 410a561 commit f51da0e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/systems/validation.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ get_unit(x::Literal) = screen_unit(getmetadata(x,VariableUnit, unitless))
4242
get_unit(op::Differential, args) = get_unit(args[1]) / get_unit(op.x)
4343
get_unit(op::Difference, args) = get_unit(args[1]) / get_unit(op.t)
4444
get_unit(op::typeof(getindex),args) = get_unit(args[1])
45-
get_unit(x::Type{SciMLBase.NullParameters}) = unitless
45+
get_unit(x::SciMLBase.NullParameters) = unitless
4646

4747
function get_unit(op,args) # Fallback
4848
result = op(1 .* get_unit.(args)...)

0 commit comments

Comments
 (0)