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

hiperpret should count the number of variables in the dconf dicts #14

Open
Sword-Smith opened this issue Sep 5, 2015 · 0 comments
Open

Comments

@Sword-Smith
Copy link
Contributor

Currently, the number of variables (keys) in the dconf dicts are not counted when the locked_var variable is used to pick the relevant dconf dicts in the function "get_2d_points_dconf_dicts". This means that the user can think that he has locked down all but the free variable but that he actually has more than one free variable. This would leave to more than one y value for each x value in that function and this is undefined behavior (read: I am currently too lazy to figure out what would happen).

This should probably be fixed by counting the variables and the locked variables in an if-statement in this function. A check that each x-val only has one y-val might also be a possibility.

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