Skip to content

Commit 4f52fdb

Browse files
committed
better
1 parent 0643a09 commit 4f52fdb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/interface.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ symbol in the iterable returned by `states` which matches the given `sym`. Retur
112112
function observed_sym_to_index end
113113

114114
function observed_sym_to_index(store, sym)
115-
findfirst(isequal(Symbol(sym)), Symbol.(map(o -> o.lhs, observed(store))))
115+
findfirst(o -> isequal(sym, o.lhs), observed(store))
116116
end
117117

118118
"""

0 commit comments

Comments
 (0)