gcollapse
fails with a large number of targets or by variables
#7
Labels
gcollapse
fails with a large number of targets or by variables
#7
gcollapse
will give an error when there are too many by variables or targets. The number of targets and by variables are limited bymatsize
:Both commands above will fail with error code
908
. However, there is a point where increasingmatsize
will not help with the number of targets:The first command will succeed but the second will fail with error code
3000
(too many tokens). This is a problem with lines 253-255, 314, 385, 487, 514, 570, 579, and 621 using the regularsubinstr
function rather than the extended macro function:subinstr
. A previous commit had switched to using:subinstr
for all locals, but these lines use the function to create a mata object.NOTE: The
matsize
problem may be a very fundamental limitation. Make sure to create a warning if it cannot be bypassed.The text was updated successfully, but these errors were encountered: