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 2774


Ignore:
Timestamp:
2015-06-20T19:51:14-07:00 (9 years ago)
Author:
Marek Rychlik
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/f4grobner/polynomial.lisp

    r2773 r2774  
    118118          ;; NOTE: R contains the result in reverse order. Can it
    119119          ;; be more efficient to produce the terms in correct order?
    120           (unless (endp q) (setf r (nreconc r q)))
     120          (unless (endp q)
     121            ,@(when uminus-fn
     122                    `(mapc #'(lambda (x) (setf x (funcall ,uminus-fn x))) q))
     123            (setf r (nreconc r q)))
    121124          r)
    122125       (multiple-value-bind
Note: See TracChangeset for help on using the changeset viewer.