Project

General

Profile

Bug #1214 » printDegrees.patch

Ondřej Tůma, 26 Aug 2016 09:08

View differences:

src/tags.cpp (working copy)
2405 2405
                if (value.toRational(n).first != 0) break;
2406 2406
            }
2407 2407
            for (int i = 0; i < n + 1; ++i) {
2408
                const int32_t z = value.toRational(i).first;
2409
                const int32_t d = value.toRational(i).second;
2408
                const uint32_t z = value.toRational(i).first;
2409
                const uint32_t d = value.toRational(i).second;
2410 2410
                if (d == 0)
2411 2411
                {
2412 2412
                    os << "(" << value << ")";
    (1-1/1)