Skip to content

Commit

Permalink
Fix enum values break on certain instances (closes #29)
Browse files Browse the repository at this point in the history
This is technically a breaking change, but I'm not going to bump the version number
because of it...
  • Loading branch information
SSoelvsten committed May 24, 2024
1 parent da344ff commit 9b818ca
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions src/calObj.hh
Original file line number Diff line number Diff line change
Expand Up @@ -270,13 +270,13 @@ public:
//////////////////////////////////////////////////////////////////////////////
enum Type_t
{
NONTERMINAL = CAL_BDD_TYPE_NONTERMINAL,
ZERO = CAL_BDD_TYPE_ZERO,
ONE = CAL_BDD_TYPE_ONE,
POSVAR = CAL_BDD_TYPE_POSVAR,
NEGVAR = CAL_BDD_TYPE_NEGVAR,
OVERFLOW = CAL_BDD_TYPE_OVERFLOW,
CONSTANT = CAL_BDD_TYPE_CONSTANT
NonTerminal = CAL_BDD_TYPE_NONTERMINAL,
Zero = CAL_BDD_TYPE_ZERO,
One = CAL_BDD_TYPE_ONE,
Posvar = CAL_BDD_TYPE_POSVAR,
Negvar = CAL_BDD_TYPE_NEGVAR,
Overflow = CAL_BDD_TYPE_OVERFLOW,
Constant = CAL_BDD_TYPE_CONSTANT
};

//////////////////////////////////////////////////////////////////////////////
Expand Down Expand Up @@ -873,9 +873,9 @@ public:
/// \see Cal::DynamicReordering, Cal::ReorderMethod
//////////////////////////////////////////////////////////////////////////////
enum ReorderTechnique {
NONE = CAL_REORDER_NONE,
SIFT = CAL_REORDER_SIFT,
WINDOW = CAL_REORDER_WINDOW
None = CAL_REORDER_NONE,
Sift = CAL_REORDER_SIFT,
Window = CAL_REORDER_WINDOW
};

//////////////////////////////////////////////////////////////////////////////
Expand Down

0 comments on commit 9b818ca

Please sign in to comment.