[Scipy-tickets] [SciPy] #1676: Errors in t statistic , scipy.stats.test() fails due to assertion error

SciPy Trac scipy-tickets@scipy....
Wed Aug 1 15:25:36 CDT 2012


#1676: Errors in t statistic ,scipy.stats.test() fails due to assertion error
----------------------------+-----------------------------------------------
  Reporter:  blowthesax     |       Owner:  pv                     
      Type:  defect         |      Status:  closed                 
  Priority:  normal         |   Milestone:  Unscheduled            
 Component:  scipy.special  |     Version:  0.10.0                 
Resolution:  worksforme     |    Keywords:  t test, assertion error
----------------------------+-----------------------------------------------
Changes (by pv):

  * status:  new => closed
  * resolution:  => worksforme


Comment:

 Since it works with GCC versions since 201205, I'm closing this --- I
 don't see anything obviously wrong with `erfc1.f`, and this seems to be a
 compiler bug. Please reopen if seen with more recent GCC versions.

 The code generated for `erfc1.f` differs around label 50, and the
 placement of the label seems off-by-one in the `-fdump-tree-original`
 output for the "bad" gfortran version. Simply writing line 92, `w =
 dble(x)*dble(x)` twice fixes the issue for the "bad" compiler version.

-- 
Ticket URL: <http://projects.scipy.org/scipy/ticket/1676#comment:8>
SciPy <http://www.scipy.org>
SciPy is open-source software for mathematics, science, and engineering.


More information about the Scipy-tickets mailing list