Skip to content
Snippets Groups Projects
Commit 3f8b2887 authored by Sander Mathijs van Veen's avatar Sander Mathijs van Veen
Browse files

Fixed typo in logger

parent 4d4df408
No related branches found
No related tags found
No related merge requests found
......@@ -16,7 +16,7 @@ void logger(double t, int N, double *y) {
if( N > 0 ) {
for( int i = 0; i < N - 1; i++ )
fprintf(logfile, ",%e", y[0]);
fprintf(logfile, "%e\n", y[N-1]);
fprintf(logfile, ",%e\n", y[N-1]);
}
else
fprintf(logfile, "\n");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment