Vector<vector<float>> Linux vs. Windows

Hello,
I was playing with a vector of vectors of floats and discovered that it is working sometimes for windows but not for Linux.

The attached example file is working on Windows but not on Linux. The original problem was discovered on Windows with a bigger program where root sometimes crashed without any error massage.
It looks as if root has a problem with the vector of vectors and some of the standard functions which are part of vector.

Has anyone ever seen this behaviour?
Thanks for your help.

Christian

PS: I’m using root 5.22/00 which I have to use in order to run some other programs.
vectorclear.cpp (1.77 KB)

Hi,

do you create a dictionary for the vector<vector >? See the users guide and e.g. root.cern.ch/drupal/faq#n627 for how to do that.

Cheers, Axel.