Changeset 376


Ignore:
Timestamp:
May 27, 2004 12:41:30 PM (14 years ago)
Author:
forrest
Message:

divide by zero

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/IdiSolve.cpp

    r225 r376  
    411411                  if (diff1*diff2>=0.0) {
    412412                    nsign++;
    413                     if (fabs(diff1)<=fabs(diff2)) {
     413                    if (fabs(diff1)<fabs(diff2)) {
    414414          // cast is to avoid gcc compiler
    415415          // warning: initialization to 'int' from 'double'
Note: See TracChangeset for help on using the changeset viewer.