Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Handle bool cast for optional NumberVar (#4010)
* Handle bool cast for optional NumberVar If the _var_type is optional, then also check that the value is not None * boolify the result of `and_operation` * flip order to be more semantically pure --------- Co-authored-by: Khaleel Al-Adhami <[email protected]>
- Loading branch information