check params by identity
This commit is contained in:
parent
c1ed3e477e
commit
1b8b1cd7b1
@ -37,7 +37,7 @@ function params(m)
|
||||
ps = []
|
||||
prefor(p ->
|
||||
Tracker.istracked(p) && Tracker.isleaf(p) &&
|
||||
!(p in ps) && push!(ps, p),
|
||||
!any(p′ -> p′ === p, ps) && push!(ps, p),
|
||||
m)
|
||||
return ps
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user