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 2531


Ignore:
Timestamp:
2015-06-19T14:44:54-07:00 (9 years ago)
Author:
Marek Rychlik
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/f4grobner/polynomial.lisp

    r2530 r2531  
    111111    (with-slots ((p termlist) order)
    112112      self
    113     (with-slots ((q termlist))
     113      (with-slots ((q termlist))
    114114        other
    115115      (do (r)
     
    126126                  (lm-equal
    127127                   (let ((s (r+ (lc p) (lc q))))
    128                      (unless (r-zerop  s) ;check for cancellation
    129                        (setf r (cons (make-term :monom (termlist-lm p) :coeff s) r)))
    130                      (setf p (cdr p) q (cdr q))))
     128                     (unless (r-zerop
    131129                  (lm-greater
    132130                   (setf r (cons (car p) r)
     
    135133                           q (cdr q)))))
    136134              nil))
    137            r))))
     135           r)))))))))
    138136  self)
    139137
Note: See TracChangeset for help on using the changeset viewer.