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 2584 for branches


Ignore:
Timestamp:
2015-06-19T18:14:39-07:00 (10 years ago)
Author:
Marek Rychlik
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/f4grobner/polynomial.lisp

    r2583 r2584  
    9999        (do ((p termlist1)
    100100             (q termlist2))
    101             ((or (endp p) (endp q))
    102              (setf termlist1 p))
     101            ((or (endp p) (endp q)))
    103102          (multiple-value-bind
    104103                (greater-p equal-p)
     
    112111               (print p) (print q))
    113112              (equal-p
    114                (setf (lc p) (add-to (lc p) (lc q))
     113               (setf (lc p) (+ (lc p) (lc q))
    115114                     p (cdr p)
    116115                     q (cdr q))
    117                (print p) (print q))))))))
     116               (print p) (print q))
     117              (t
     118               (setf p (cdr p)))))))))
    118119           
    119120  self)
Note: See TracChangeset for help on using the changeset viewer.