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


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

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/f4grobner/monom.lisp

    r3317 r3318  
    7878                                         (dimension 0 dimension-supplied-p)
    7979                                         (exponents nil exponents-supplied-p)
    80                                          (exponent  0 exponent-supplied-p)
     80                                         (exponent  0)
    8181                                       &allow-other-keys
    8282                                       )
     
    8989     (let ((dim (length exponents)))
    9090       (setf (slot-value self 'exponents) (make-array dim :initial-contents exponents))))
    91     (exponent-supplied-p
     91    (t
    9292     ;; when all exponents are to be identical
    9393     (cond
    9494       (dimension-supplied-p
    9595        (setf (slot-value self 'exponents)
    96               (make-array (list dimension) :initial-element (if exponent-supplied-p exponent 0)
     96              (make-array (list dimension) :initial-element exponent
    9797                          :element-type 'exponent)))
    9898       (t 
Note: See TracChangeset for help on using the changeset viewer.