User: diener Date: 2011/10/21 03:20 PM
Modified: /trunk/src/ Recon.cc
Log: Convert integers before taking the square root.
File Changes:
Directory: /trunk/src/ ======================
File [modified]: Recon.cc Delta lines: +1 -1 =================================================================== --- trunk/src/Recon.cc 2011-09-27 20:31:09 UTC (rev 8) +++ trunk/src/Recon.cc 2011-10-21 20:20:11 UTC (rev 9) @@ -205,7 +205,7 @@
nn = dim[0]; na = dim[1]; - nl = static_cast<int>(round(sqrt(na+spin*spin)-abs(double(spin)))); + nl = static_cast<int>(round(sqrt(double(na+spin*spin))-abs(double(spin))));
status = H5LTget_attribute_double(file_id,"/0/", "Time", &time0); status = H5LTget_attribute_double(file_id,"/1/", "Time", &dtime);