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 2245


Ignore:
Timestamp:
2015-06-18T11:32:55-07:00 (10 years ago)
Author:
Marek Rychlik
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/f4grobner/monom.lisp

    r2244 r2245  
    6161  (:default-initargs :dimension 0 :exponents nil))
    6262
    63 (defmethod print-object ((m monom) stream)
    64   (princ (slot-value m 'exponents) stream))
     63(defmethod print-object ((self monom) stream)
     64  (format stream "#<MONOM DIMENSION=~A EXPONENTS=~A>"
     65          (slot-value self 'dimension)
     66          (slot-value self 'exponents)))
    6567
    6668(defmethod initialize-instance :after ((self monom)
     
    8991                          ;; otherwise, all exponents are zero
    9092                          (t
    91                            (make-array (list dimension) :element-type 'exponent :initial-element 0)))))
     93                           (make-array (list dimension) :element-type 'exponent :initial-element 0)))))))
    9294
    9395
Note: See TracChangeset for help on using the changeset viewer.