SPOT: formula:is_literal shall be marked const?

2 Dec
2021
2 Dec
'21
3:52 p.m.
hi Alexandre, Seems like the function formula::is_literal() should be marked const: /// \brief Whether the formula is an atomic proposition or its /// negation. bool is_literal() { return (is(op::ap) || // If f is in nenoform, Not can only occur in front of // an atomic proposition. So this way we do not have // to check the type of the child. (is(op::Not) && is_boolean() && is_in_nenoform())); } kind wishes, Ayrat
1411
Age (days ago)
1411
Last active (days ago)
1 comments
2 participants
participants (2)
-
Alexandre Duret-Lutz
-
Ayrat Khalimov