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


Ignore:
Timestamp:
2015-06-23T10:21:59-07:00 (10 years ago)
Author:
Marek Rychlik
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/f4grobner/monom.lisp

    r3324 r3325  
    8484    (exponents-supplied-p
    8585     (when dimension-supplied-p
    86        (warn "Ignoring initarg DIMENSION."))
     86       (cond
     87         ((/= dimension (length exponents))
     88          (error "EXPONENTS (~A) must have supplied length DIMENSION (~A)"
     89                 exponents dimension))
     90         (t
     91          (warn "Ignoring initarg DIMENSION."))))
    8792     (let ((dim (length exponents)))
    8893       (setf (slot-value self 'exponents) (make-array dim :initial-contents exponents))))
Note: See TracChangeset for help on using the changeset viewer.