Trisurf Monte Carlo simulator
Samo Penic
2014-07-08 364c3073f652fbc02a9ddf051a381b3fd5ea48e4
Fixed max occupancy error
1 files modified
2 ■■■ changed files
src/io.c 2 ●●● patch | view | raw | blame | history
src/io.c
@@ -422,7 +422,7 @@
    vesicle->tape=parsetape("tape");
// recreating space for cells // 
    vesicle->clist=init_cell_list(vesicle->tape->ncxmax, vesicle->tape->ncymax, vesicle->tape->nczmax, vesicle->tape->stepsize);
    vesicle->clist->max_occupancy=8;
//    vesicle->tape=(ts_tape *)malloc(sizeof(ts_tape));
//    retval=fread(vesicle->tape, sizeof(ts_tape),1,fh);
    retval=fread(iteration,sizeof(ts_uint),1,fh);