Skip to content

Commit 309dacc

Browse files
committed
Shadow PI from CL.
One of the CUDD functions has "Pi" as a parameter. On SBCL, at least, this causes a crash during compile, as it clashes with the package lock on CL:PI.
1 parent ec146d4 commit 309dacc

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

package.lisp

+2-1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
;;; Low-level interface:
1010
(defpackage #:cuddapi
1111
(:use :cl :cffi :swig-macros :alexandria)
12+
(:shadow #:pi)
1213
(:export #:cudd-manager #:cudd-node #:cudd-bdd-not #:cudd-add-cube #:cudd-bdd-cube
1314
#:dump-dot #:add-var #:bdd-var #:print-info #:+cudd-max-index+ #:cudd-node-is-constant
1415
#:cudd-node-get-value #:cudd-node-get-then #:cudd-node-get-else
@@ -95,4 +96,4 @@
9596
#:one-node
9697
#:zero-node
9798

98-
#:with-nodes))
99+
#:with-nodes))

0 commit comments

Comments
 (0)