diff options
author | Casey Dahlin <cdahlin@redhat.com> | 2008-10-08 17:15:57 -0400 |
---|---|---|
committer | Casey Dahlin <cdahlin@redhat.com> | 2008-10-08 17:15:57 -0400 |
commit | 5cae3d9571544327c61004b20d56517b89d74b1d (patch) | |
tree | 53daf99d9a6ce9bd8e78461a7d1b08fec1934e4b /state.rb | |
parent | f1b64ee8e011494c3d63af9f7c8fa6fb7413e0fb (diff) | |
download | upstate-5cae3d9571544327c61004b20d56517b89d74b1d.tar.gz upstate-5cae3d9571544327c61004b20d56517b89d74b1d.tar.xz upstate-5cae3d9571544327c61004b20d56517b89d74b1d.zip |
Add parenthesis to expression in State#hash
Minor clarification
Diffstat (limited to 'state.rb')
-rw-r--r-- | state.rb | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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_ |