← Back to team overview

yade-dev team mailing list archive

Re: : yade --test fails after some changes in WirePM

 

Hi,

I found the problem but I don't know how I can fix it. At this stage I just 
committed a few changes. I had a similar issue last year and we solved it by 
adding

if(strainStressValues.empty()) return; // uninitialized object, don't do 
nothing at all

in postLoad of WireMat. strainStressValues is of type vector<Vector2r>.

The point is I have two objects of this type now and one is optional so it can 
be uninitialized. How can I handle that?

Thanks,

Klaus

On Fri, 13 Jan 2012 12:19:18 AM Anton Gladky wrote:
> Hi Klaus,
> 
> it would be good if you show the diff (patch).
> 
> Thanks.
> 
> Anton
> 
> _______________________________________________
> Mailing list: https://launchpad.net/~yade-dev
> Post to     : yade-dev@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~yade-dev
> More help   : https://help.launchpad.net/ListHelp


References