Skip to content

Commit

Permalink
seems nameof(sys) was actually correct
Browse files Browse the repository at this point in the history
  • Loading branch information
chriselrod committed Dec 21, 2023
1 parent fd099d6 commit 70539eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/systems/connectors.jl
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ struct ConnectionElement
h::UInt
end
function _hash_impl(sys, v, isouter)
hashcore = hash(sys) hash(getname(v))
hashcore = hash(nameof(sys)) hash(getname(v))
hashouter = isouter ? hash(true) : hash(false)
hashcore hashouter
end
Expand Down

0 comments on commit 70539eb

Please sign in to comment.