~ubuntu-branches/ubuntu/maverick/openturns/maverick

« back to all changes in this revision

Viewing changes to lib/src/Base/Optim/TNC/algotnc.c

  • Committer: Bazaar Package Importer
  • Author(s): Fabrice Coutadeur
  • Date: 2009-08-18 18:14:38 UTC
  • mfrom: (1.1.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20090818181438-copqi92r4z7y0ejc
Tags: 0.13.1-1ubuntu1
debian/python-openturns.install: update to use python* and *-packages.
This fix a FTBFS with python2.6.  (LP: #350437)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1850
1850
    epsmch = eps;
1851
1851
  }
1852
1852
 
 
1853
#ifdef WIN32
 
1854
  // On 32 and 64 bits linux kernel epsmch = 2.220446e-16, 
 
1855
  // on mingw 32bit epsmch = 1.084202e-19 which results to strange TNC algorithm behavior.
 
1856
  const double epsmch_linux = 2.220446e-16;
 
1857
  if(epsmch < epsmch_linux)
 
1858
    epsmch = epsmch_linux;
 
1859
#endif
 
1860
 
1853
1861
  return epsmch;
1854
1862
}
1855
1863