We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7cb31f1 commit 1e89b9cCopy full SHA for 1e89b9c
src/openexr.imageio/exrinput.cpp
@@ -673,13 +673,11 @@ OpenEXRInput::PartInfo::parse_header (const Imf::Header *header)
673
int r[2];
674
r[0] = n;
675
r[1] = static_cast<int>(d);
676
- OIIO::debug ("adding rational with numerator %d and denominator %u (easy case)", n, d);
677
spec.attribute (oname, TypeRational, r);
678
} else if (int f = static_cast<int>(boost::math::gcd<long int>(rational[0], rational[1])) > 1) {
679
680
r[0] = n / f;
681
r[1] = static_cast<int>(d / f);
682
- OIIO::debug ("adding rational with numerator %d and denominator %u (hard case)", n, d);
683
684
} else {
685
// TODO: find a way to allow the client to accept "close" rational values
0 commit comments