Fix typo in GcnRational's + operator

This commit is contained in:
Geert Janssens 2017-02-21 16:56:14 +01:00
parent 7c041eb283
commit c2f21f0162

View File

@ -246,7 +246,7 @@ inline GncRational operator+(GncRational a, GncInt128 b)
}
inline GncRational operator+(GncInt128 a, GncRational b)
{
return GncRational(a, 1) + a;
return GncRational(a, 1) + b;
}
GncRational operator-(GncRational a, GncRational b);
inline GncRational operator-(GncRational a, GncInt128 b)