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.

Ignore:
Timestamp:
2015-06-20T21:42:47-07:00 (9 years ago)
Author:
Marek Rychlik
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/f4grobner/polynomial.lisp

    r2800 r2801  
    202202deleting zero terms."
    203203  `(mapcan #'(lambda (other-term)
    204                (let ((prod (term-multiply ,term other-term)))
     204               (let ((prod (term-multiply
     205                            (cond
     206                              (reverse-order
     207                               `(other-term ,term)
     208                               `(,term other-term))))))
    205209                 (cond
    206210                   ((r-zerop prod) nil)
     
    220224           (tail (add-termlists
    221225                  (multiply-term-by-termlist-dropping-zeros (car p) (cdr q))
    222                   (multiply-termlist-by-term-dropping-zeros (cdr p) q)
     226                  (multiply-termlists (cdr p) q)
    223227                  order-fn)))
    224228       (nconc head tail)))))))
Note: See TracChangeset for help on using the changeset viewer.