Changeset 3002 for branches/f4grobner
- Timestamp:
- 2015-06-21T15:42:37-07:00 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/f4grobner/monom.lisp
r2952 r3002 154 154 self) 155 155 156 (defun copy-monom (m) 157 (make-instance 'monom 158 :dimension (monom-dimension m) 159 :exponents (copy-seq (monom-exponents m)))) 156 (defmethod copy-instance :around ((object monom)) 157 (declare (ignore object)) 158 (let ((copy (call-next-method))) 159 (setf (monom-exponents copy (copy-seq (monom-exponents copy)))) 160 copy)) 160 161 161 162 (defmethod r* ((m1 monom) (m2 monom))
Note:
See TracChangeset
for help on using the changeset viewer.