Skip to content
This repository was archived by the owner on Sep 27, 2019. It is now read-only.

Commit 266c831

Browse files
committed
CmpBool enum has changed values in dec4bd2
1 parent 0acd924 commit 266c831

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/include/type/value.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -130,8 +130,8 @@ class Value : public Printable {
130130
return Type::GetInstance(type_id_)->CompareGreaterThanEquals(*this, o);
131131
}
132132
inline bool CompareBetweenInclusive(const Value &a, const Value &b) const {
133-
return Type::GetInstance(type_id_)->CompareGreaterThanEquals(*this, a) == CmpBool::TRUE &&
134-
Type::GetInstance(type_id_)->CompareLessThanEquals(*this, b) == CmpBool::TRUE;
133+
return Type::GetInstance(type_id_)->CompareGreaterThanEquals(*this, a) == CmpBool::CmpTrue &&
134+
Type::GetInstance(type_id_)->CompareLessThanEquals(*this, b) == CmpBool::CmpTrue;
135135
}
136136

137137
// Other mathematical functions

0 commit comments

Comments
 (0)