Skip to content
Snippets Groups Projects
Commit c8a80514 authored by Idril-Tadzio Geer Cousté's avatar Idril-Tadzio Geer Cousté
Browse files

added necessary assert

parent bbecb55d
No related branches found
No related tags found
3 merge requests!39release after RAL,!38After 2nd RAL submission,!23Processor imu2d
...@@ -179,6 +179,7 @@ namespace wolf { ...@@ -179,6 +179,7 @@ namespace wolf {
const double _dt, const double _dt,
VectorComposite& _x_plus_delta) const VectorComposite& _x_plus_delta) const
{ {
assert(_x.includesStructure("POV") && "Any key missing in _x");
assert(_delta.size() == 5 && "Wrong _delta vector size"); assert(_delta.size() == 5 && "Wrong _delta vector size");
assert(_dt >= 0 && "Time interval _dt is negative!"); assert(_dt >= 0 && "Time interval _dt is negative!");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment