Skip to content
Snippets Groups Projects
Commit 8f96c781 authored by Pedro Gonnet's avatar Pedro Gonnet
Browse files

fix dt output.

Former-commit-id: 954392daef3c507356cbd20a07a1b218961b0820
parent 9ed62d9d
No related branches found
No related tags found
No related merge requests found
...@@ -703,7 +703,7 @@ int main ( int argc , char *argv[] ) { ...@@ -703,7 +703,7 @@ int main ( int argc , char *argv[] ) {
case 'd': case 'd':
if ( sscanf( optarg , "%f" , &dt_max ) != 1 ) if ( sscanf( optarg , "%f" , &dt_max ) != 1 )
error( "Error parsing timestep." ); error( "Error parsing timestep." );
printf( "main: dt set to %.3f.\n" , dt_max ); fflush(stdout); printf( "main: dt set to %e.\n" , dt_max ); fflush(stdout);
break; break;
case 'f': case 'f':
if( !strcpy(ICfileName, optarg)) if( !strcpy(ICfileName, optarg))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment