fix
This commit is contained in:
parent
7c3702f6a6
commit
93ad615389
1 changed files with 6 additions and 5 deletions
|
|
@ -210,11 +210,6 @@ int main(int argc, char* argv[]) {
|
|||
if (meas_param == 1) meas = ErrorMeasure::mean_squared;
|
||||
|
||||
|
||||
if (functions_added == 0) {
|
||||
cout << "ERROR: no functions defined" << endl;
|
||||
exit(1);
|
||||
}
|
||||
|
||||
/* End parsing */
|
||||
if (parser.userNeedsHelp())
|
||||
{
|
||||
|
|
@ -222,6 +217,12 @@ int main(int argc, char* argv[]) {
|
|||
return 1;
|
||||
}
|
||||
|
||||
if (functions_added == 0) {
|
||||
cout << "ERROR: no functions defined" << endl;
|
||||
exit(1);
|
||||
}
|
||||
|
||||
|
||||
Dataset dataset;
|
||||
dataset.load_data(datafile.value());
|
||||
|
||||
|
|
|
|||
Reference in a new issue