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.

Ignore:
Timestamp:
2016-06-02T23:40:50-07:00 (8 years ago)
Author:
Marek Rychlik
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/f4grobner/pair-queue.lisp

    r4148 r4151  
    104104  (:documentation "Specializes class PRIORITY-QUEUE to element-type CRITICAL-PAIR."))
    105105
    106 (defmethod initialize-instance :before ((self critical-pair-queue) &key)
    107   (call-next-method self :initial-element 'critical-pair))
     106(defmethod initialize-instance :before ((self critical-pair-queue) &key)
     107  (with-slots ((element-type-x priority-queue::element-type))
     108      self
     109      (setf element-type-x 'critical-pair))
     110  self)
    108111
    109112(defgeneric make-critical-pair-queue (object)
Note: See TracChangeset for help on using the changeset viewer.