From 3f9e1e82bf75fe0f6082778e76c21c168cefb270 Mon Sep 17 00:00:00 2001 From: Jesse Bouwman Date: Wed, 10 Jan 2024 14:23:07 -0800 Subject: [PATCH] Provide type description fragment in allocate-memory-for-model error 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. --- src/classical-memory.lisp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/classical-memory.lisp b/src/classical-memory.lisp index 23ab5bf2..257d8037 100644 --- a/src/classical-memory.lisp +++ b/src/classical-memory.lisp @@ -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.