fix(kernel/constraint): bug in operator<<
This commit is contained in:
parent
a30232b99a
commit
940092a975
1 changed files with 4 additions and 1 deletions
|
@ -143,7 +143,10 @@ std::ostream & operator<<(std::ostream & out, constraint const & c) {
|
|||
break;
|
||||
case constraint_kind::Choice:
|
||||
out << "choice ";
|
||||
if (cnstr_delay_factor(c) != 0) out << "[delayed:" << cnstr_delay_factor(c) << "] ";
|
||||
if (cnstr_on_demand(c))
|
||||
out << "[on-demand]";
|
||||
else if (cnstr_delay_factor(c) != 0)
|
||||
out << "[delayed:" << cnstr_delay_factor(c) << "] ";
|
||||
out << cnstr_expr(c);
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue