Explorar o código

added missing 'format' forward in FPCRandomForests::restore

Sven Sickert %!s(int64=9) %!d(string=hai) anos
pai
achega
74fbbfb2e5
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      classifier/fpclassifier/randomforest/FPCRandomForests.cpp

+ 1 - 1
classifier/fpclassifier/randomforest/FPCRandomForests.cpp

@@ -406,7 +406,7 @@ void FPCRandomForests::restore(istream & is, int format)
         {
             is >> index;
             DecisionTree *dt = new DecisionTree ( conf, maxClassNo );
-            dt->restore ( is );
+            dt->restore ( is, format );
             if ( minimum_entropy != 0.0 )
                 dt->pruneTreeEntropy ( minimum_entropy );