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

about duplicate constraints #160

Closed
zsombi opened this issue Apr 24, 2023 · 3 comments
Closed

about duplicate constraints #160

zsombi opened this issue Apr 24, 2023 · 3 comments

Comments

@zsombi
Copy link

zsombi commented Apr 24, 2023

Hi,

The following code snippet does not throw DumplicateConstraint:

kiwi::Variable v1("var1");
kiwi::Solver solver;

solver.addConstraint(v1 >= 0);
solver.addConstraint(v1 >= 0);

From the implementation I can see why it doesn't throw, but I wonder whether should this scenario also be considered as a duplicate constraint?

@MatthieuDartiailh
Copy link
Member

@sccolbert may have a better intuition on this one...

I will try to look into it though, but feel free to ping if you see by the end of may.

@sccolbert
Copy link
Member

sccolbert commented Apr 29, 2023 via email

@MatthieuDartiailh
Copy link
Member

Thanks @sccolbert

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

3 participants