소스 검색

added missing 'format' forward in FPCRandomForests::restore

Sven Sickert 9 년 전
부모
커밋
74fbbfb2e5
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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 );