From 70539eb6b1daa0fc1d79eeaf0bd8a8c57dd16677 Mon Sep 17 00:00:00 2001 From: Chris Elrod Date: Thu, 21 Dec 2023 05:24:43 -0500 Subject: [PATCH] seems `nameof(sys)` was actually correct --- src/systems/connectors.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/systems/connectors.jl b/src/systems/connectors.jl index 9fcf78fdee..1bfa5a22c6 100644 --- a/src/systems/connectors.jl +++ b/src/systems/connectors.jl @@ -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