CARA Forum
CARA Forum
 | Forums | Register | Reply | Search | Statistics |
Bug Reports CARA Forum / Bug Reports /  

CARA 1.9.1 setAssig bug?

Author aeletski

#1 | Posted: 4 Oct 2016 18:42 

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
test_peak_assign.luaAttached file: test script for setAssig()

Author rkeller

#2 | Posted: 4 Oct 2016 18:46 
Hi Alex
Which CARA version are you using? I did some changes to Peak and PeakList::setAssig in und

Author damberger

#3 | Posted: 27 Oct 2016 14:29 
Hi Alex
this should be fixed in the current release CARA_1.9.1.7


Author aeletski

#4 | Posted: 9 Nov 2016 16:28 
Hi Rochus and Fred,

Thanks for the info. I have used v1.9.1.4. I didn't realize that the v1.9.1 download link points to the latest minor release.


Bug Reports CARA Forum / Bug Reports / CARA 1.9.1 setAssig bug? Top
Your Reply Click this icon to move up to the quoted message

Only registered users are allowed to post here. Please, enter your username/password details upon posting a message, or register first.
  CARA Forum Powered by Bulletin Board Script miniBB ®