Commit dac28420 authored by Nandhana Sakhtivel's avatar Nandhana Sakhtivel
Browse files

Added missed line in gridding.c

parent 15def884
Loading
Loading
Loading
Loading
+11 −4
Original line number Diff line number Diff line
@@ -297,7 +297,7 @@ void gridding_data(){
       free(visimgs);
      // End of loop over sector    
    }
    // Finalize MPI communication

    // Finalize MPI communication
    #ifdef USE_MPI
       MPI_Win_fence(0,slabwin);
@@ -310,6 +310,13 @@ void gridding_data(){
    #ifdef USE_MPI
        MPI_Barrier(MPI_COMM_WORLD);
    #endif

    end = clock();
    clock_gettime(CLOCK_MONOTONIC, &finish);
    timing.process_time = ((double) (end - start)) / CLOCKS_PER_SEC;
    timing.process_time1 = (finish.tv_sec - begin.tv_sec);
    timing.process_time1 += (finish.tv_nsec - begin.tv_nsec) / 1000000000.0;
    clock_gettime(CLOCK_MONOTONIC, &begin);
}

void write_grided_data()