Skip to content

Commit

Permalink
typeasserts for good measure
Browse files Browse the repository at this point in the history
  • Loading branch information
chriselrod committed Dec 21, 2023
1 parent 70539eb commit cb4c04a
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(nameof(sys)) hash(getname(v))
hashcore = hash(nameof(sys)::Symbol) hash(getname(v)::Symbol)

Check warning on line 153 in src/systems/connectors.jl

View check run for this annotation

Codecov / codecov/patch

src/systems/connectors.jl#L153

Added line #L153 was not covered by tests
hashouter = isouter ? hash(true) : hash(false)
hashcore hashouter
end
Expand Down

0 comments on commit cb4c04a

Please sign in to comment.