Skip to content

Commit

Permalink
Provide type description fragment in allocate-memory-for-model error
Browse files Browse the repository at this point in the history
Minor nit: changes error message from

    The value of QVM::SIZE is 0, which is not The SIZE wasn't a multiple of 8..

to

    The value of QVM::SIZE is 0, which is not a multiple of 8.
  • Loading branch information
jbouwman authored and stylewarning committed Jan 12, 2024
1 parent 3da6935 commit 3f9e1e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/classical-memory.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ If BYPASS-SIZE-LIMIT is T (default: NIL), then the size limit dictated by **CLAS
;; model is right.
8)
:do
(check-type size (integer 1) "The SIZE wasn't a multiple of 8.")
(check-type size (integer 1) "a multiple of 8")
;; Record this allocation
(decf size-left size)
;; Check we haven't overflowed.
Expand Down

0 comments on commit 3f9e1e8

Please sign in to comment.