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.
isparameter
check_variables
check_parameters
1 parent 0818941 commit 5449424Copy full SHA for 5449424
src/utils.jl
@@ -124,8 +124,6 @@ function check_parameters(ps, iv)
124
for p in ps
125
isequal(iv, p) &&
126
throw(ArgumentError("Independent variable $iv not allowed in parameters."))
127
- isparameter(p) ||
128
- throw(ArgumentError("$p is not a parameter."))
129
end
130
131
@@ -153,8 +151,6 @@ function check_variables(dvs, iv)
153
151
throw(ArgumentError("Independent variable $iv not allowed in dependent variables."))
154
152
(is_delay_var(iv, dv) || occursin(iv, dv)) ||
155
throw(ArgumentError("Variable $dv is not a function of independent variable $iv."))
156
- isparameter(dv) &&
157
- throw(ArgumentError("$dv is not an unknown. It is a parameter."))
158
159
160
0 commit comments