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 3321


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

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/f4grobner/monom.lisp

    r3319 r3321  
    8787     (let ((dim (length exponents)))
    8888       (setf (slot-value self 'exponents) (make-array dim :initial-contents exponents))))
    89     (t
     89    (dimension-supplied-p
    9090     ;; when all exponents are to be identical
    91      (cond
    92        (dimension-supplied-p
    93         (setf (slot-value self 'exponents)
    94               (make-array (list dimension) :initial-element exponent
    95                           :element-type 'exponent)))
    96        (t 
    97         (error "Initarg DIMENSION must be supplied if EXPONENT is supplied."))))))
     91     (setf (slot-value self 'exponents) (make-array (list dimension)
     92                                                    :initial-element exponent
     93                                                    :element-type 'exponent)))
     94    (t 
     95     (error "Initarg DIMENSION or EXPONENTS must be supplied."))))
    9896
    9997(defmethod monom-dimension ((m monom))
Note: See TracChangeset for help on using the changeset viewer.