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 2539 for branches/f4grobner


Ignore:
Timestamp:
2015-06-19T15:32:52-07:00 (10 years ago)
Author:
Marek Rychlik
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/f4grobner/polynomial.lisp

    r2538 r2539  
    108108(defmethod add-to ((self poly) (other poly))
    109109  (macrolet ((lt (termlist) `(car ,termlist))
    110              (lc (termlist) `(term-coeff (lt ,termlist))))
     110             (lc (termlist) `(r-coeff (car ,termlist))))
    111111    (with-slots ((termlist1 termlist))
    112112        self
     
    119119          ;; Copy all initial terms of q greater than (lt p) into p       
    120120          (do ((r q (cdr q)))
    121               ((lex> (lt r) (lt p)))
     121              ((lex> (lm r) (lm p)))
    122122            (push (lt r) p))
    123123          ;; Now compare leading terms of p and q
Note: See TracChangeset for help on using the changeset viewer.