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

« back to all changes in this revision

Viewing changes to classify/ocrfeatures.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:
169
169
  for (i = 0; i < Feature->Type->NumParams; i++) {
170
170
    if (fscanf (File, "%f", &(Feature->Params[i])) != 1)
171
171
      DoError (ILLEGAL_FEATURE_PARAM, "Illegal feature parameter spec");
172
 
#ifndef WIN32
 
172
#ifndef _WIN32
173
173
    assert (!isnan(Feature->Params[i]));
174
174
#endif
175
175
  }
230
230
  int i;
231
231
 
232
232
  for (i = 0; i < Feature->Type->NumParams; i++) {
233
 
#ifndef WIN32
 
233
#ifndef _WIN32
234
234
    assert(!isnan(Feature->Params[i]));
235
235
#endif
236
236
    fprintf(File, " %g", Feature->Params[i]);