From 5a01e2c5898b29c2db4b896f37f36422dbbb694c Mon Sep 17 00:00:00 2001 From: Matthew Flatt Date: Mon, 20 Jan 2020 15:00:45 -0700 Subject: [PATCH] make a test portable original commit: 86b384b5ed2e1cde6c61abe50db5b606e8841cfc --- mats/5_6.ms | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/mats/5_6.ms b/mats/5_6.ms index 4dda16a7fd..0e46f14fd6 100644 --- a/mats/5_6.ms +++ b/mats/5_6.ms @@ -1317,7 +1317,9 @@ (error? (stencil-vector 0 'apple)) (error? (stencil-vector 3 'apple)) (error? (stencil-vector 3 'apple)) - (error? (stencil-vector (expt 2 (stencil-vector-mask-width)) 'a)) + + (<= (stencil-vector-mask-width) 58) ; so the next test reports the same error on all platforms + (error? (stencil-vector (expt 2 58) 'a)) (error? (stencil-vector-length 3)) (error? (stencil-vector-mask 3))