Skip to content

Commit

Permalink
Squash type-related warnings in distributed-mst.lisp (#27)
Browse files Browse the repository at this point in the history
  • Loading branch information
karalekas authored Nov 21, 2020
1 parent eb2df9f commit 6f82a46
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 19 deletions.
20 changes: 3 additions & 17 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -31,31 +31,17 @@ test:
--eval "(asdf:test-system :aether)"

###
### clean targets, borrowed from QVM
### clean targets (borrowed from QVM)
###

# Clean the executables
clean:
rm -f qvm qvm-ng build-output.log system-index.txt

# Clean the Lisp cache, reindex local projects.
clean-cache:
@echo "Deleting $(LISP_CACHE)"
$(QUICKLISP) \
--eval "(ql:register-local-projects)"
rm -rf "$(LISP_CACHE)"

clean-qvm-cache:
@echo "Deleting $(QVM_LISP_CACHE)"
$(QUICKLISP) \
--eval "(ql:register-local-projects)"
rm -rf $(QVM_LISP_CACHE)
rm -f system-index.txt

clean-quicklisp:
@echo "Cleaning up old projects in Quicklisp"
$(QUICKLISP) \
--eval '(ql-dist:clean (ql-dist:dist "quicklisp"))'

cleanall: clean clean-cache clean-quicklisp
cleanall: clean clean-quicklisp
@echo "All cleaned and reindexed."

3 changes: 1 addition & 2 deletions tests/examples/distributed-mst.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
;; denoted by FN in the paper pseudocode
(fragment-weight
:initform nil
:type (or nil integer)
:type (or null integer)
:accessor fragment-node-fragment-weight)
;; denoted by LN in the paper pseudocode
(fragment-level
Expand All @@ -82,7 +82,6 @@
:documentation "An integer between 0 and log N (where N is the number of nodes).")
;; contains edge identifiers, weights, and states (SE)
(adjacent-edges
:initform nil
:initarg :adjacent-edges
:type hash-table
:accessor fragment-node-adjacent-edges
Expand Down

0 comments on commit 6f82a46

Please sign in to comment.