tChanged return value under dry run - sphere - GPU-based 3D discrete element me… | |
git clone git://src.adamsgaard.dk/sphere | |
Log | |
Files | |
Refs | |
LICENSE | |
--- | |
commit c78431e98828434d0b07230d51e5a8bfdba8ab65 | |
parent f24d83260204912110474e4c5c874f3244f95c98 | |
Author: Anders Damsgaard <[email protected]> | |
Date: Sun, 17 Mar 2013 21:43:28 +0100 | |
Changed return value under dry run | |
Diffstat: | |
M src/sphere.cpp | 2 +- | |
1 file changed, 1 insertion(+), 1 deletion(-) | |
--- | |
diff --git a/src/sphere.cpp b/src/sphere.cpp | |
t@@ -46,7 +46,7 @@ DEM::DEM(const std::string inputbin, | |
// If this is a dry run, exit | |
if (dry == 1) | |
- exit(1); | |
+ exit(0); | |
if (initCuda == 1) { | |