Menu

#11 The out of bounds policy is not set in the Aster interface

2.1
closed
None
2015-08-27
2015-08-27
No

The out of bounds policy is not set in the Aster interface. This leads to unpredictable behaviour is an bound is declared on any variable.

The AsterBehaviourHandler contains this comment:

~~~~~~ {.cpp}
// 22/03/2012 : la gestion des bornes sera implantée plus tard
// const auto& up = AsterOutOfBoundsPolicy::getAsterOutOfBoundsPolicy();
// this->behaviour.setOutOfBoundsPolicy(up);
~~~~~

Apparently, this was never implemented at all !

As a quick fix, one can add the following line after those comments:

~~~~~~ {.cpp}
this->behaviour.setOutOfBoundsPolicy(OutOfBoundsPolicy::None);
~~~~~

Discussion

  • Helfer Thomas

    Helfer Thomas - 2015-08-27

    This fix was introducted in all developpement branches : rliv-2.0, trunk and rdev-3.0

     
  • Helfer Thomas

    Helfer Thomas - 2015-08-27
    • status: open --> closed
     

Log in to post a comment.