-
Notifications
You must be signed in to change notification settings - Fork 45
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
Merging of attributes of the same value but different types #34
Labels
Comments
trungdong
added a commit
that referenced
this issue
Apr 24, 2014
…iterals to Python's float and long values to avoid the bug #34
this is also true of |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The (extra) attribute-value pairs of a record have set-like behaviour, i.e.
entity(ex:a, [ex:v=2, ex:v=2])
is considered equivalent toentity(ex:a, [ex:v=2])
. Therefore, attribute-value pairs are stored in a set by prov.model.However, when adding values to a set, Python considers 2 (int) and 2.0 (float) the same, resulting only one values retained in the set.
The text was updated successfully, but these errors were encountered: