toon-members
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Toon-members] Re: STL containers with TooN


From: Gabriel Nützi
Subject: [Toon-members] Re: STL containers with TooN
Date: Mon, 11 Jan 2010 13:48:48 +0100

Solved!!
Sorry, I was stupid!

Thanks!

Am 10.01.2010 um 21:37 schrieb Gabriel Nützi:

Hello again

Sorry for my questions, but I am using TooN permanently, with all its advantages... (LU,SymEigen....)

I was wondering, because I need a container which is as fallowing

list < Vector<Dynamic,double> >   myList;

Why does it give RunTime problems and segmentation errors when I try to use the list by inserting and deleting Vectors, it happens also when the Vector is not dynamic ...

Is there any troubles with the containers and TooN?

This crashed in Runtime:

//===================================
list < Vector<Dynamic,double> >   myList;
myList.push_back( makeVector (1,1,1) );
myList.push_back( makeVector (2,1,1) );
myList.push_back( makeVector (3,1,1) );

list < Vector<Dynamic,double> > ::iterator it;

it = myList.begin();
it++;

myList.erase(it);

//=================================


Thanks a lot

Gabriel!





reply via email to

[Prev in Thread] Current Thread [Next in Thread]