~ubuntu-branches/ubuntu/utopic/tesseract/utopic-proposed

« back to all changes in this revision

Viewing changes to classify/mf.cpp

  • Committer: Package Import Robot
  • Author(s): Jeff Breidenbach
  • Date: 2012-10-23 23:25:05 UTC
  • mfrom: (1.1.7)
  • Revision ID: package-import@ubuntu.com-20121023232505-01pfq6trlgqtagwj
Tags: 3.02.02-1
New upstream release

Show diffs side-by-side

added added

removed removed

Lines of Context:
71
71
    Feature->Params[MFBulge1] = 0.0f;
72
72
    Feature->Params[MFBulge2] = 0.0f;
73
73
 
74
 
#ifndef WIN32
 
74
#ifndef _WIN32
75
75
    // Assert that feature parameters are well defined.
76
76
    int i;
77
77
    for (i = 0; i < Feature->Type->NumParams; i++) {
78
 
      assert (!isnan(Feature->Params[i]));
 
78
      ASSERT_HOST(!isnan(Feature->Params[i]));
79
79
    }
80
80
#endif
81
81
 
82
82
    AddFeature(FeatureSet, Feature);
83
83
  }
84
84
  FreeMicroFeatures(OldFeatures);
85
 
  return (FeatureSet);
86
 
 
 
85
  return FeatureSet;
87
86
}                                /* ExtractMicros */