Skip to content

Commit

Permalink
removed apparently useless memcpy (#104)
Browse files Browse the repository at this point in the history
  • Loading branch information
boris-martin authored Sep 26, 2022
1 parent a7a4d69 commit 0bbf2f0
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion nonlingeo_precice.c
Original file line number Diff line number Diff line change
Expand Up @@ -3695,7 +3695,6 @@ void nonlingeo_precice(double **cop, ITG *nk, ITG **konp, ITG **ipkonp, char **l

/* Adapter: Copy necessary data for coupling */
simulationData.fn = fn;
memcpy(&vold[0], &v[0], sizeof(double) * mt * *nk);

Precice_WriteCouplingData(&simulationData);
/* Adapter: Advance the coupling */
Expand Down

0 comments on commit 0bbf2f0

Please sign in to comment.