summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--state.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/state.rb b/state.rb
index 5ebedea..e47573f 100644
--- a/state.rb
+++ b/state.rb
@@ -183,7 +183,7 @@ class State
# Our ID is a function of our class and deps
def hash
- self.class.hash ** 2 + self.params.sort.hash % 0x4000000000000000
+ (self.class.hash ** 2 + self.params.sort.hash) % 0x4000000000000000
end
# A state is rooted in a set of states if any state in the set which it _may_