diff options
Diffstat (limited to 'kbruch/src/ratio.cpp')
-rw-r--r-- | kbruch/src/ratio.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kbruch/src/ratio.cpp b/kbruch/src/ratio.cpp index e3a79a36..0ba1e1c4 100644 --- a/kbruch/src/ratio.cpp +++ b/kbruch/src/ratio.cpp @@ -192,9 +192,9 @@ bool ratio::operator==(ratio right) signed short orig_sign = 1, right_sign = 1; /* we do not check the presign at this point */ - if (QABS(m_numerator) != QABS(right.numerator())) + if (TQABS(m_numerator) != TQABS(right.numerator())) return false; - if (QABS(m_denominator) != QABS(right.denominator())) + if (TQABS(m_denominator) != TQABS(right.denominator())) return false; /* check if the signs of the ratios are equivalent */ |