Gecode / gecode

Generic Constraint Development Environment
https://www.gecode.org
Other
283 stars 76 forks source link

BoolExpr should be initializable with C++ boolean values #145

Open yurivict opened 2 years ago

yurivict commented 2 years ago

This code works:

LinIntExpr e = 0;

but this code fails:

BoolExpr e = false;

It seems that it should be possible to initialize BoolExpr with a C++ boolean value.