Commit 96291652 authored by Florent Lamiraux's avatar Florent Lamiraux Committed by Florent Lamiraux florent@laas.fr
Browse files

Merge remote-tracking branch 'msebal/devel' into devel

parents 55c559a4 3bdddc85
......@@ -112,7 +112,7 @@ namespace hpp {
// After 10000 trials throw if no valid configuration has been found.
do {
qrand = shooter->shoot ();
if ((valid = constraints->apply (*qrand))) {
if (valid = (!constraints || constraints->apply (*qrand))) {
valid = configValidations->validate (*qrand, validationReport);
}
nbTry++;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment