close Warning: Can't synchronize with repository "(default)" (The repository directory has changed, you should resynchronize the repository with: trac-admin $ENV repository resync '(default)'). Look in the Trac log for more information.

Changeset 2658 for branches/f4grobner


Ignore:
Timestamp:
2015-06-20T15:36:25-07:00 (9 years ago)
Author:
Marek Rychlik
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/f4grobner/polynomial.lisp

    r2657 r2658  
    116116          (equal-p
    117117           (let ((s (funcall add-fun (lc p) (lc q))))
    118              (unless (r-zerop s)
    119                (setf (lc p) s)
    120                (rotatef cdr p) r p))
     118             (cond
     119               ((r-zerop s)
     120                (setf (lc p) s)
     121                (rotatef cdr p) r p)
     122               (t
     123                (setf p (cdr p)))))
    121124           (setf q (cdr q))
    122125           )
Note: See TracChangeset for help on using the changeset viewer.