summaryrefslogtreecommitdiff
path: root/sim.cpp
diff options
context:
space:
mode:
authorJohn Fultz <jfultz@wolfram.com>2015-07-21 10:18:57 -0500
committerJohn Fultz <jfultz@wolfram.com>2015-07-21 10:18:57 -0500
commitd912747a68c38baa1d19e07067d8c691f29f8198 (patch)
treef221b417220ffe5b6adbf3ca8210c788379d7842 /sim.cpp
parent46fc18d0d167cc6feacfb41fadb207a1234ccc26 (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.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/sim.cpp b/sim.cpp
index fc99629..f9e36a7 100644
--- a/sim.cpp
+++ b/sim.cpp
@@ -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())