Opened 19 years ago

Closed 15 years ago

#27 closed defect (fixed)

zeroDivisionError using cg_solve

Reported by: duncan Owned by: steve
Priority: low Milestone: least_squares module finished
Component: Functionality and features Version: 1.0
Severity: normal Keywords:
Cc:

Description

here's the error

ERROR: test_expand_search3 (__main__.Test_Least_Squares)
----------------------------------------------------------------------

Traceback (most recent call last):
  File "I:\inundation\fit_interpolate\benchmark_least_squares.py", lin
e 147, in test_expand_search3
    calc = interp.fit_points(point_atts )
  File "I:\inundation\pyvolution\least_squares.py", line 881, in fit_p
oints
    return self.fit(z)
  File "I:\inundation\pyvolution\least_squares.py", line 869, in fit
    return conjugate_gradient(self.B, Atz, Atz, imax=2*len(Atz) )
  File "I:\inundation\pyvolution\cg_solve.py", line 55, in conjugate_g
radient
    alpha = rTr/dot(d,q)
ZeroDivisionError: float division

see show_cg_bug.py (changeset:1959)

Change History (3)

comment:1 Changed 19 years ago by ole

  • Component changed from Compilation and installation to Functionality and features
  • Milestone set to least_squares module finished

comment:2 Changed 18 years ago by anonymous

  • Priority changed from normal to low

comment:3 Changed 15 years ago by nariman

  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.