rational: print double rather than rational to debug
Doubles are mostly used here anyway.
This commit is contained in:
@@ -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();
|
||||
*/
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user