diff --git a/src/mcx_host.cpp b/src/mcx_host.cpp index fc1ba72..75f193b 100644 --- a/src/mcx_host.cpp +++ b/src/mcx_host.cpp @@ -575,7 +575,6 @@ is more than what your have specified (%d), please use the -H option to specify if(cfg->isnormalized){ float scale=0.f; fprintf(cfg->flog,"normalizing raw data ...\t"); - if(cfg->outputtype==otFlux || cfg->outputtype==otFluence){ scale=1.f/(cfg->energytot*Vvox*cfg->tstep); if(cfg->unitinmm!=1.f) diff --git a/src/mcx_utils.c b/src/mcx_utils.c index 3c65cb2..7eb5d54 100644 --- a/src/mcx_utils.c +++ b/src/mcx_utils.c @@ -59,6 +59,9 @@ void mcx_initcfg(Config *cfg){ cfg->dim.x=0; cfg->dim.y=0; cfg->dim.z=0; + cfg->steps.x=1.f; + cfg->steps.y=1.f; + cfg->steps.z=1.f; cfg->nblocksize=64; cfg->nphoton=0; cfg->nthread=(1<<14);