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 2269


Ignore:
Timestamp:
2015-06-18T14:00:03-07:00 (10 years ago)
Author:
Marek Rychlik
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/f4grobner/monom.lisp

    r2268 r2269  
    7575                                  )
    7676  (format t "INITIALIZE-INSTANCE called with:~&ARGS: ~W.~%" args)
    77   (let* ((new-dimension (cond (dimension-suppied-p dimension)
    78                               (exponents-supplied-p
     77  (let* ((new-dimension (cond (dimension dimension)
     78                              (exponents
    7979                               (length exponents))
    8080                              (t
    81                                (error "You must provide DIMENSION or EXPONENTS"))))
     81                               (error "DIMENSION or EXPONENTS must not be NIL"))))
    8282         (new-exponents  (cond
    8383                           ;; when exponents are supplied
    84                            (exponents-supplied-p
    85                             (make-array (list new-dimension) :initial-contents exponents
    86                                         :element-type 'exponent))
     84                           (exponents
     85                            (make-array (list new-dimension) :initial-contents exponents))
    8786                           ;; when all exponents are to be identical
    88                            (exponent-supplied-p
     87                           (exponent
    8988                            (make-array (list new-dimension) :initial-element exponent
    9089                                        :element-type 'exponent))
Note: See TracChangeset for help on using the changeset viewer.