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 300f6ea commit a7cee1cCopy full SHA for a7cee1c
src/parameters.jl
@@ -8,8 +8,8 @@ function isparameter(x)
8
if x isa Symbolic && Symbolics.getparent(x, false) !== false
9
p = Symbolics.getparent(x)
10
isparameter(p) ||
11
- (hasmetadata(p, Symbolics.VariableSource) &&
12
- getmetadata(p, Symbolics.VariableSource)[1] == :parameters)
+ (hasmetadata(p, Symbolics.VariableSource) &&
+ getmetadata(p, Symbolics.VariableSource)[1] == :parameters)
13
elseif istree(x) && operation(x) isa Symbolic
14
getmetadata(x, MTKParameterCtx, false) ||
15
isparameter(operation(x))
0 commit comments