diff options
| author | Ben Boeckel <MathStuf@gmail.com> | 2008-01-25 02:21:09 +0000 |
|---|---|---|
| committer | Ben Boeckel <MathStuf@gmail.com> | 2008-01-25 02:21:09 +0000 |
| commit | 081bd53cf22ca40a6e436bc46eb62ad469909d6f (patch) | |
| tree | 2b20a84df93e418ab0261231cf4b993ec57b2ca2 /general | |
| parent | 095c93a62b0be0893063748d67051e35810a7f48 (diff) | |
[FIX] Frac returns a double (not an unsigned typcast to double, making 0 all the time)
[FIX] maxDV now works on 0 and 1 rather than 16 and 32
[FIX] Stuff ignored (due to other options) can't throw Exceptions in Rules anymore
[FIX] UI logic fixed
git-svn-id: https://pokegen.svn.sourceforge.net/svnroot/pokegen/trunk@45 6ecfd1a5-f3ed-3746-8530-beee90d26b22
Diffstat (limited to 'general')
| -rw-r--r-- | general/Frac.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/general/Frac.h b/general/Frac.h index 046fc789..fb00845e 100644 --- a/general/Frac.h +++ b/general/Frac.h @@ -70,7 +70,7 @@ class Frac operator double() const { - return (num / denom); + return (double(num) / denom); } private: unsigned num; |
