mail[bug #20821] Optimisation failure / round error on windows 64 bit


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by Troels E. Linnet on June 19, 2013 - 19:42:
Follow-up Comment #2, bug #20821 (project relax):

Fix for bug #20821: (https://gna.org/bugs/?20821) Optimisation failure / round
error on windows 64 bit

For 64-bit Windows 7, with Compilation: Visual Studio Express 2012,
Professional, for 64 bit compilation, the precision needed to be decreased by
one decimal in the function: test_opt_constr_cd_mt_S2_0_970_te_2048_Rex_0_149
in C:WinPython27relax_disptest_suitesystem_testsmodel_free.py", line 1762.

Patch attached

The correction was:
         # S2 order parameter.
         if s2 != None:
-            self.assertAlmostEqual(spin.s2, s2, msg=mesg)
+            self.assertAlmostEqual(spin.s2, s2, places=6, msg=mesg)

(file #18120)
    _______________________________________________________

Additional Item Attachment:

File name: patch1                         Size:16 KB


    _______________________________________________________

Reply to this item at:

  <http://gna.org/bugs/?20821>

_______________________________________________
  Message sent via/by Gna!
  http://gna.org/




Related Messages


Powered by MHonArc, Updated Wed Jun 19 20:00:11 2013