From bc0dae9ca6d470d308ca2c99ab5b8a269566686a Mon Sep 17 00:00:00 2001 From: Josh Davies Date: Tue, 12 Nov 2024 09:59:45 +0000 Subject: [PATCH] Add a workspace test for optimization --- check/fixes.frm | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/check/fixes.frm b/check/fixes.frm index edf91eb6..ef4112c1 100644 --- a/check/fixes.frm +++ b/check/fixes.frm @@ -2943,3 +2943,18 @@ Local F = rat(f,1); #pend_if mpi? assert runtime_error?("ERROR: polynomials and polyratfuns must contain symbols only") *--#] Issue567_3f : +*--#[ PullReq535 : +* This test requires more than the specified 50K workspace. +#:maxtermsize 200 +#:workspace 50000 +S x1,...,x19; +L F = (x1+...+x19)^4; +Format O1; +.sort +#optimize F +L G = `optimvalue_'; +P G; +.end +assert succeeded? +assert result("G") =~ expr("389") +*--#] PullReq535 :