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

Bug in IBEX arithmetic #463

Closed
SimonRohou opened this issue Jun 10, 2020 · 1 comment
Closed

Bug in IBEX arithmetic #463

SimonRohou opened this issue Jun 10, 2020 · 1 comment
Labels

Comments

@SimonRohou
Copy link
Member

Hello the IBEX Team,

Here is something strange:

  Interval a = Interval(3,8);
  Interval b = Interval(1,3) & Interval(6,7); // [b] is empty
  Interval c = a+b;
  cout << "c=[3,8]+([1,3]∩[6,7]): " << c << endl;

Result:
c=[3,8]+([1,3]∩[6,7]): [9, 11]

@SimonRohou SimonRohou added the bug label Jun 10, 2020
gchabert pushed a commit that referenced this issue Jun 15, 2020
@gchabert
Copy link
Contributor

oh my god... I wonder how is it possible that a bug like this stays invisible so long.
Maybe because people don't use that much operator&.
Well, that was actually a bug in gaol... but I've wrapped it so now it is fixed (in develop).

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

No branches or pull requests

2 participants