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 03f2fce commit 26b28a8Copy full SHA for 26b28a8
src/interface.jl
@@ -16,7 +16,7 @@ if the given `sym` exists in the iterable returned by `independent_variables`.
16
function is_indep_sym end
17
18
function is_indep_sym(store, sym)
19
- any(isequal(Symbol(sym)), Symbol(x) for x in independent_variables(store))
+ any(isequal(Symbol(sym)), Symbol.(independent_variables(store)))
20
end
21
22
"""
@@ -38,7 +38,7 @@ symbol in the iterable returned by `states` which matches the given `sym`. Retur
38
function state_sym_to_index end
39
40
function state_sym_to_index(store, sym)
41
- findfirst(isequal(Symbol(sym)), Symbol(x) for x in states(store))
+ findfirst(isequal(Symbol(sym)), Symbol.(states(store)))
42
43
44
0 commit comments