Skip to content

Commit

Permalink
Refactor ExpressionComparator
Browse files Browse the repository at this point in the history
  • Loading branch information
fintarin committed Mar 28, 2024
1 parent 64dc952 commit b66a2bf
Show file tree
Hide file tree
Showing 7 changed files with 119 additions and 168 deletions.
2 changes: 1 addition & 1 deletion include/fintamath/expressions/ExpressionComparator.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
namespace fintamath::detail {

struct ComparatorOptions final {
bool constantGreaterThanVariable = false;
bool termOrderInversed = false;
bool comparableOrderInversed = false;
};

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ class IPolynomExpression : public IExpression {

ArgumentPtr postSimplify() const override;

virtual bool isConstantGreaterThanVariable() const;
virtual bool isTermOrderInversed() const;

virtual bool isComparableOrderInversed() const;

Expand Down
Loading

0 comments on commit b66a2bf

Please sign in to comment.