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:
2016-06-14T19:35:34-07:00 (8 years ago)
Author:
Marek Rychlik
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/f4grobner/polynomial.lisp

    r4457 r4463  
    738738  "Ensures that the number of variables in VARS maches the polynomial dimension of the
    739739polynomial SELF."
    740   (let ((dimension (poly-dimension self)))
    741     (assert (= (length vars) dimension)
    742             nil
    743             "Number of variables ~S does not match the dimension ~S"
    744             vars dimension)))
     740  (unless (endp (poly-termlist self))
     741    (let ((dimension (poly-dimension self)))
     742      (assert (= (length vars) dimension)
     743              nil
     744              "Number of variables ~S does not match the dimension ~S"
     745              vars dimension))))
    745746
    746747(defmethod ->sexp ((self poly) &optional vars)
Note: See TracChangeset for help on using the changeset viewer.