You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When declaring an ibex::System locally or globally with the same minibex file, the resulting systems are not equivalent. The locally declared system is correct and the globally declared system is incorrect. It seems that the predefined interval constant pi disappears from the constraints in the globally declared system.
As an example, the following program produces two non-equal systems:
Variables
alpha in [-1.7453,2.2689];
beta in [-1.3963,1.3963];
EXT in [-oo,oo];
INT in [-oo,oo];
Constraints
EXT = pi + pi/180 * (0.724559*beta+alpha);
INT = pi + pi/180 * (3.417002*beta+alpha);
end
The issue seems to be resolved by replacing pi by 3.141592654 or by adding a constant for pi (e.g., pi_ = 3.141592654). Therefore it seems that the issue is related to the predefined interval constant pi.
The text was updated successfully, but these errors were encountered:
Fixed (will be in release 2.8.1).
There is still a slight difference (1 ulp in a constant) between the two systems of your example, but it is due to the rounding mode initialization of Gaol (which occurs after your global system is built). This is not a serious problem, you can ignore that.
When declaring an ibex::System locally or globally with the same minibex file, the resulting systems are not equivalent. The locally declared system is correct and the globally declared system is incorrect. It seems that the predefined interval constant pi disappears from the constraints in the globally declared system.
As an example, the following program produces two non-equal systems:
The minibex file (system_test.mbx) is:
An the program output is:
The issue seems to be resolved by replacing pi by 3.141592654 or by adding a constant for pi (e.g., pi_ = 3.141592654). Therefore it seems that the issue is related to the predefined interval constant pi.
The text was updated successfully, but these errors were encountered: