Hello,
I think that Peak:setAssig() and PeakList:setAssgi() Lua methods are not working properly in v1.9.1. Peak assignment in the fist dimension is always zero, and rest are shifted by a single dimension - possibly an array/table indexing error.
For example, if you run the attached test script, the resulting peak assignment is (0, 1, 2) instead of (1, 2, 3)
In contrast, the test script produces correct results in v1.8.4
Best regards,
Alex Eletsky