Commit 14432d17 authored by Marc Modat's avatar Marc Modat

fabs was generating an error using windows - Thanks Jamie

parent 09ba48d8
......@@ -41,7 +41,7 @@ int main(int argc, char **argv)
reg_gpu->SetLinearEnergyWeights(0,0);
// Useful variable
const size_t nodeNumber=pow(SIZE,dimension);
const size_t nodeNumber=(size_t)pow((double)SIZE,dimension)+.5;
// Create the optimiser
reg_optimiser<float> *optimiser_cpu=NULL;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment