Skip to content
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

why test both ipSet = gpSet and gpSet = ipSet ??? #4

Open
dckc opened this issue Feb 26, 2019 · 0 comments
Open

why test both ipSet = gpSet and gpSet = ipSet ??? #4

dckc opened this issue Feb 26, 2019 · 0 comments

Comments

@dckc
Copy link
Collaborator

dckc commented Feb 26, 2019

@leithaus why is equal tested both ways? Did you mean to write subset or something?

 else if ((ProcessSet.equal ipSet gpSet) || (ProcessSet.equal gpSet ipSet))

https://github.com/leithaus/rhocaml/blob/master/mc.ml#L127

I transcribed it somewhat literally:

                        else if ((ipSet == gpSet) || (gpSet == ipSet)) ///@@@@?@?@?@?

https://github.com/rchain-community/behavr/blob/master/src/main/scala/rho/Model.scala#L125

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant