This line in c3.cc is intended to check the value of a std::optional, but as written it checks whether the value is there or not, and not the boolean itself. Changing that line to if (options_.penalize_input_change.value_or(false)) { or something similar should fix it, just safely unwrapping the optional.
This line in
c3.ccis intended to check the value of a std::optional, but as written it checks whether the value is there or not, and not the boolean itself. Changing that line toif (options_.penalize_input_change.value_or(false)) {or something similar should fix it, just safely unwrapping the optional.