When running the line
ivec d = "1:3:5,0:2:4";
using it++ release 4.0.5 the program aborts with the following message:
*** Assertion failed in ../../itpp/base/vec.cpp on line 656:
Vec(int)::set(): Improper data string (a:b:c) (!c_parsed)
This worked fine in previous 3.x releases. It would be great if this way of assigning vectors could be reintroduced.
Regards,
// Yngve
Logged In: YES
user_id=1004597
Originator: NO
Hi Yngve,
Good news for you... I have reimplemented vector string parsing functions from scratch and now they should support the functionality you miss from 3.10.x releases. The new implementation is at the moment available on the trunk only.
I would be glad if you can test it with your programs and report how it works now. I do not want to break our stable branch, so will wait with merging this patch to itpp-4-0 branch a little bit.
Thanks for your help!
BR,
/Adam
Logged In: YES
user_id=1803102
Originator: YES
I've tested the new parsing, and it now works as expected. Thanks for taking care of this so quickly! :)
Best,
Logged In: YES
user_id=1004597
Originator: NO
Thanks for your tests Yngve. I am now marking this future request as closed.
/Adam