New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
hash in SGObject #2838
Comments
I am not sure whether the hash value should be changed if |
if you think this is a bug, the fix is quite simple.
|
I think this is a bug! This should not be. Do unit tests break if you fix it? |
this issue is solved. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@vigsterkr , @lisitsyn , @karlnapf
there may be a bug.
If CSGObject::update_parameter_hash() is called more than once, CSGObject::parameter_hash_changed() always returns true even when variables remain the same.
for example
hash value1
andhash value2
are different sincewhere
m_hash
becomesnon-zero
afterupdate_parameter_hash()
is calledwhat is worse,
Note that
hash
iszero
, which means ifupdate_parameter_hash()
is called more than once,CSGObject::parameter_hash_changed()
always returnstrue
even when variables remain the same.The text was updated successfully, but these errors were encountered: