some reviews
This commit is contained in:
parent
96f618f88f
commit
947ea09fa1
2 changed files with 2 additions and 2 deletions
|
|
@ -41,7 +41,7 @@
|
||||||
#include <ctime>
|
#include <ctime>
|
||||||
|
|
||||||
// include for exceptions
|
// include for exceptions
|
||||||
include <stdecept> // logic_error
|
#include <stdexcept> // logic_error
|
||||||
|
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
// Class Param
|
// Class Param
|
||||||
|
|
|
||||||
|
|
@ -12,7 +12,7 @@ void InitRandom( Parser & parser) {
|
||||||
_seed = parser.getUnsignedLong("-S", "--seed", "0",
|
_seed = parser.getUnsignedLong("-S", "--seed", "0",
|
||||||
"Seed for Random number generator" );
|
"Seed for Random number generator" );
|
||||||
}
|
}
|
||||||
catch (UException & e)
|
catch (logic_error & e)
|
||||||
{
|
{
|
||||||
cout << e.what() << endl;
|
cout << e.what() << endl;
|
||||||
parser.printHelp();
|
parser.printHelp();
|
||||||
|
|
|
||||||
Reference in a new issue