Use float or double from CLI

This commit is contained in:
Tom Deakin 2016-05-03 10:52:27 +01:00
parent ac55358964
commit 77b521f5f0

View File

@ -42,7 +42,10 @@ int main(int argc, char *argv[])
parseArguments(argc, argv);
run<double>();
if (use_float)
run<float>();
else
run<double>();
}