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 3256 for branches


Ignore:
Timestamp:
2015-06-22T20:43:30-07:00 (9 years ago)
Author:
Marek Rychlik
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/f4grobner/polynomial.lisp

    r3255 r3256  
    286286
    287287(defmethod multiply-by ((self poly) (other poly))
    288   (assert (= (monom-dimension self) (monom-dimension other)))
     288  (cond ((null (poly-dimension self))
     289         (setf (poly-dimension self) (monom-dimension other)))
     290        (t (assert (= (monom-dimension item) (poly-dimension self)))))
    289291  (change-term-order other self)
    290292  (setf (poly-termlist self) (multiply-termlists (poly-termlist self)
Note: See TracChangeset for help on using the changeset viewer.