Commit 7259201f authored by Giovanni Lacopo's avatar Giovanni Lacopo
Browse files

Stacking bug fixed

parent 5238ca21
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -329,9 +329,6 @@ void wstack(
        double pos_v = vv[i] / dx;
        double ww_i  = ww[i] / dw;
	
	//Renormalization of ww_i to avoid out of bounds
	ww_i = ww_i/(1+num_w_planes);
	
        int grid_w = (int)ww_i;
        int grid_u = (int)pos_u;
        int grid_v = (int)pos_v;