Merge pull request #20515 from utibenkei:fix_java_ml_testSaveLoad

pull/20545/head
Alexander Alekhin 3 years ago
commit 732cb6c45c
  1. 2
      modules/ml/misc/java/test/MLTest.java

@ -36,7 +36,7 @@ public class MLTest extends OpenCVTestCase {
String filename = OpenCVTestRunner.getTempFileName("yml");
saved.save(filename);
SVM loaded = SVM.load(filename);
assertTrue(saved.isTrained());
assertTrue(loaded.isTrained());
}
}

Loading…
Cancel
Save