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


Ignore:
Timestamp:
2016-05-31T15:29:31-07:00 (9 years ago)
Author:
Marek Rychlik
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/f4grobner/polynomial.lisp

    r4021 r4027  
    580580  "Ensures that the number of variables in VARS maches the polynomial dimension of the
    581581polynomial SELF."
    582   (assert (= (length vars) (poly-dimension self))))
     582  (with-slots (dimension)
     583      self
     584    (assert (= (length vars) dimension)
     585            (vars)
     586            "Number of variables ~S does not match the dimension ~S"
     587            vars dimension)))
    583588
    584589(defmethod ->sexp ((self poly) &optional vars)
Note: See TracChangeset for help on using the changeset viewer.