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


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

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/f4grobner/polynomial.lisp

    r2748 r2749  
    149149                                    (uminus-method-name nil uminus-method-name-supplied-p)))
    150150  "This macro avoids code duplication for two similar operations: ADD-TO and SUBTRACT-FROM."
    151   `(defmethod ,method-name ((self poly) (other poly))
     151  `(defmethod ,add/subtract-method-name ((self poly) (other poly))
    152152     ,@(when doc-string-supplied-p `(,doc-string))
    153153     (with-slots ((termlist1 termlist) (order1 order))
     
    162162                          termlist1 termlist2 order1
    163163                          #',add/subtract-method-name
    164                           ,(when uminus-method-name-supplied-p
    165                                  #'uminus-method-name)))))
     164                          ,@(when uminus-method-name-supplied-p
     165                                  `(#',uminus-method-name))))))
    166166     self))
    167167
Note: See TracChangeset for help on using the changeset viewer.