rational: print double rather than rational to debug

Doubles are mostly used here anyway.
This commit is contained in:
itsmattkc
2020-06-05 04:30:39 +10:00
parent 5eeef76b62
commit cb0d89c09e
+3
View File
@@ -387,6 +387,9 @@ OLIVE_NAMESPACE_EXIT
QDebug operator<<(QDebug debug, const OLIVE_NAMESPACE::rational &r)
{
return debug.space() << r.toDouble();
/*
debug.nospace() << r.numerator() << "/" << r.denominator();
return debug.space();
*/
}