Commit 00a7c7f4 authored by Giovanni Lacopo's avatar Giovanni Lacopo
Browse files

Fixed bug in NORMALIZE_DATA

parent 991ac874
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -65,7 +65,7 @@ void gridding()
  }

  MPI_Allreduce(MPI_IN_PLACE, &getmin, 3, MPI_DOUBLE, MPI_MIN, MPI_COMM_WORLD);
  MPI_Allreduce(MPI_IN_PLACE, &getmax, 3, MPI_DOUBLE, MPI_MIN, MPI_COMM_WORLD);
  MPI_Allreduce(MPI_IN_PLACE, &getmax, 3, MPI_DOUBLE, MPI_MAX, MPI_COMM_WORLD);

  double offset = 0.001;
  double ming = MAX(fabs(getmin.u), fabs(getmin.v));