Get rid of some static objects in arithmetic theory (#8146)
authorGereon Kremer <gkremer@cs.stanford.edu>
Thu, 24 Feb 2022 17:44:40 +0000 (18:44 +0100)
committerGitHub <noreply@github.com>
Thu, 24 Feb 2022 17:44:40 +0000 (17:44 +0000)
commit1f06dc65f3e12a463a9f97f22d0a7097f4b9b3a8
tree5c4d8d5ca36f5139835320b499398a5d0de8cb19
parentb55ee5396848d20ac502293fc58d2fd915a42f1d
Get rid of some static objects in arithmetic theory (#8146)

This PR tackles cvc5/cvc5-projects#17 by removing static variables or making them constexpr.
Most static variables are either compile-time constants (we make them static constexpr) or used to count how often a function is called for debug output (we remove these).
16 files changed:
src/theory/arith/approx_simplex.cpp
src/theory/arith/approx_simplex.h
src/theory/arith/attempt_solution_simplex.cpp
src/theory/arith/constraint.h
src/theory/arith/constraint_forward.h
src/theory/arith/dio_solver.h
src/theory/arith/dual_simplex.cpp
src/theory/arith/error_set.cpp
src/theory/arith/fc_simplex.cpp
src/theory/arith/fc_simplex.h
src/theory/arith/linear_equality.cpp
src/theory/arith/nl/cad/lazard_evaluation.cpp
src/theory/arith/soi_simplex.cpp
src/theory/arith/soi_simplex.h
src/theory/arith/theory_arith_private.cpp
src/theory/arith/theory_arith_private.h