diff options
author | John Fultz <jfultz@wolfram.com> | 2015-07-21 10:18:57 -0500 |
---|---|---|
committer | John Fultz <jfultz@wolfram.com> | 2015-07-21 10:18:57 -0500 |
commit | d912747a68c38baa1d19e07067d8c691f29f8198 (patch) | |
tree | f221b417220ffe5b6adbf3ca8210c788379d7842 /sim.cpp | |
parent | 46fc18d0d167cc6feacfb41fadb207a1234ccc26 (diff) |
Visual Studio build maintenance.
* Fix compiler warnings
* Add Visual Studio 2013 solution
* Tweak .pro files
* Most importantly, rename main 'quackle' project to
'libquackle' to avoid solution-level name conflict. This
only affects the VS build.
Diffstat (limited to 'sim.cpp')
-rw-r--r-- | sim.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -385,7 +385,7 @@ void Simulator::simulate(int plies) if (m_simulatedGame.currentPosition().gameOver()) { - const float wins = spread > 0? 1 : spread == 0? 0.5 : 0; + const float wins = spread > 0? 1 : spread == 0? 0.5F : 0; (*moveIt).wins.incorporateValue(wins); if (isLogging()) |