tAdded missing & - sphere - GPU-based 3D discrete element method algorithm with optional fluid coupling
HTML git clone git://src.adamsgaard.dk/sphere
DIR Log
DIR Files
DIR Refs
DIR LICENSE
---
DIR commit ff88ba6c2a4f262e4f784cf7dca32c2302e8c59e
DIR parent f8cd172bc206c6cda4f2f1fd6071df1ea90eab87
HTML Author: Anders Damsgaard <adc@geo.au.dk>
Date: Thu, 30 Aug 2012 11:47:26 +0200
Added missing &
Diffstat:
M src/file_io.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
DIR diff --git a/src/file_io.cpp b/src/file_io.cpp
t@@ -122,7 +122,7 @@ int fwritebin(char *target,
// Walls
fwrite(¶ms->nw, sizeof(params->nw), 1, fp); // No. of walls
for (j=0; j<params->nw; ++j) {
- fwrite(params->wmode[j], sizeof(params->wmode), 1, fp);
+ fwrite(¶ms->wmode[j], sizeof(params->wmode), 1, fp);
// Wall normal
fwrite(&host_w_nx[j].x, sizeof(Float), 1, fp);
fwrite(&host_w_nx[j].y, sizeof(Float), 1, fp);