Commit 0ffc0a8f6aa423d1b1e9a28d84041b00ddcb60be

Authored by Josh Klontz
1 parent 7c5c7878

fixed br_train_n

Showing 1 changed file with 2 additions and 1 deletions
sdk/openbr.cpp
... ... @@ -240,7 +240,8 @@ void br_train(const char *input, const char *model)
240 240  
241 241 void br_train_n(int num_inputs, const char *inputs[], const char *model)
242 242 {
243   - Train(QtUtils::toStringList(num_inputs, inputs).join(";"), model);
  243 + if (num_inputs > 1) Train(QtUtils::toStringList(num_inputs, inputs).join(";")+"(separator=;)", File(model));
  244 + else Train(File(inputs[0]), model);
244 245 }
245 246  
246 247 const char *br_version()
... ...