yade-dev team mailing list archive
-
yade-dev team
-
Mailing list archive
-
Message #08206
Re: : yade --test fails after some changes in WirePM
-
To:
yade-dev@xxxxxxxxxxxxxxxxxxx
-
From:
Klaus Thoeni <klaus.thoeni@xxxxxxxxx>
-
Date:
Mon, 16 Jan 2012 18:25:22 +1100
-
In-reply-to:
<CALF6qJm08qQPcxX3F1HY+7=cE-4MOMFppBkYgMWQBDsX25BjUg@mail.gmail.com>
-
User-agent:
KMail/1.13.6 (Linux/2.6.38-8-generic; KDE/4.6.5; x86_64; ; )
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