Commit 95d79181 authored by Mark Friedrichs's avatar Mark Friedrichs
Browse files

Minor edits

parent 5c1b44ec
...@@ -529,6 +529,9 @@ int main( int argc, char* argv[] ){ ...@@ -529,6 +529,9 @@ int main( int argc, char* argv[] ){
try { try {
// skip test if input file name is not provided
// but let user know
if( argc > 1 ){ if( argc > 1 ){
testObcForce( log, argv[1] ); testObcForce( log, argv[1] );
} else { } else {
...@@ -541,6 +544,7 @@ int main( int argc, char* argv[] ){ ...@@ -541,6 +544,7 @@ int main( int argc, char* argv[] ){
testObcSingleParticle( log ); testObcSingleParticle( log );
testObcEConsistentForce( log ); testObcEConsistentForce( log );
} catch( const exception& e ){ } catch( const exception& e ){
(void) fprintf( log, "Exception %s %.s\n", methodName.c_str(), e.what() ); (void) fflush( log ); (void) fprintf( log, "Exception %s %.s\n", methodName.c_str(), e.what() ); (void) fflush( log );
return 1; return 1;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment