aboutsummaryrefslogtreecommitdiffstats
path: root/priorque.scm
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2017-02-20 00:06:40 -0800
committerBryan Newbold <bnewbold@robocracy.org>2017-02-20 00:06:40 -0800
commita69c9fb665459e2bfdbda1bf80741a0af31a7faf (patch)
treef0bc974f8805049e6b9a4e6864886298fbaa05a4 /priorque.scm
parent4684239efa63dc1b2c1cbe37ef7d3062029f5532 (diff)
downloadslib-a69c9fb665459e2bfdbda1bf80741a0af31a7faf.tar.gz
slib-a69c9fb665459e2bfdbda1bf80741a0af31a7faf.zip
New upstream version 3b5upstream/3b5upstream
Diffstat (limited to 'priorque.scm')
-rwxr-xr-x[-rw-r--r--]priorque.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/priorque.scm b/priorque.scm
index 9f1591f..e5fea53 100644..100755
--- a/priorque.scm
+++ b/priorque.scm
@@ -93,7 +93,7 @@
;;Returns a binary heap suitable which can be used for priority queue
;;operations.
(define make-heap
- (let ((cstr (record-constructor heap:rtd)))
+ (let ((cstr (record-constructor heap:rtd '(array size heap<?))))
(lambda (pred<?)
(cstr (make-vector 4) 0 pred<?))))