Skip to content

Commit b19555f

Browse files
committed
format
1 parent 83534f7 commit b19555f

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/parameters.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ function isparameter(x)
55
x = unwrap(x)
66
if istree(x) && operation(x) isa Symbolic
77
getmetadata(x, MTKParameterCtx, false) ||
8-
isparameter(operation(x))
8+
isparameter(operation(x))
99
elseif istree(x) && operation(x) == (getindex)
1010
isparameter(arguments(x)[1])
1111
elseif x isa Symbolic

src/utils.jl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,8 @@ function iv_from_nested_derivative(x, op = Differential)
223223
if istree(x) && operation(x) == getindex
224224
iv_from_nested_derivative(arguments(x)[1], op)
225225
elseif istree(x)
226-
operation(x) isa op ? iv_from_nested_derivative(arguments(x)[1], op) : arguments(x)[1]
226+
operation(x) isa op ? iv_from_nested_derivative(arguments(x)[1], op) :
227+
arguments(x)[1]
227228
elseif issym(x)
228229
x
229230
else

0 commit comments

Comments
 (0)