Skip to content

Commit a30fd53

Browse files
committed
oops: missed the else
1 parent ee4b0d6 commit a30fd53

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

source/running_mode_factory.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ unique_ptr<running_mode_base> running_mode_factory::get_mode(const string& opera
3737
cout << "Active learning mode selected" << endl;
3838
mode = make_unique<active_learning_mode>();
3939
}
40-
if(operation_mode == "load_sqldb"){
40+
else if(operation_mode == "load_sqldb"){
4141
cout << "Active learning mode selected" << endl;
4242
mode = make_unique<load_sqldb_mode>();
4343
}

0 commit comments

Comments
 (0)