biotomas / ipasir

The Standard Interface for Incremental Satisfiability Solving
Other
47 stars 14 forks source link

ipasir_set_terminate documentation: variable "state" can be confused with solver state #13

Closed ykazakov closed 4 years ago

ykazakov commented 4 years ago

Since the documentation is frequently talking about the state of the solver (INPUT or SAT or UNSAT), it can be confused with the variable "state" of the callback function void learn(void * state, int * clause). Perhaps this variable should be renamed to something else, e.g., data.