Re: [Yade-dev] [Branch ~yade-dev/yade/trunk] Rev 2961: Add check on body existance in GlobalStiffnessTimeStepper. Fixes LP:891540

2011-11-21 Thread Janek Kozicki
Bruno Chareyre said: (by the date of Mon, 21 Nov 2011 23:21:59 +0100) >for( ; bi!=biEnd ; ++bi ) > > >{ > > + if (!*bi) continue; > >shared_ptr b = *bi; > > > > I it not possible that iterator will return empty pointer. If it > > does, then it's

Re: [Yade-dev] [Yade-users] We're changing yade-users's membership policy to moderated

2011-11-21 Thread Anton Gladky
> How much are we, to be able to approve new members ? 3 or 4. That is enough, I think. Anton 2011/11/21 Jérôme Duriez : > Ok, let's do it. And it seems (according to mails I got) that you indeed did > it. It seems also that you're also an administrator, isn't it ? How much are > we, to be ab

Re: [Yade-dev] [Branch ~yade-dev/yade/trunk] Rev 2961: Add check on body existance in GlobalStiffnessTimeStepper. Fixes LP:891540

2011-11-21 Thread Bruno Chareyre
for( ; bi!=biEnd ; ++bi ) >{ > + if (!*bi) continue; >shared_ptr b = *bi; > > I it not possible that iterator will return empty pointer. If it > does, then it's a bug in the iterator. > > The iterator is not empty, but the pointer it points to can be.

Re: [Yade-dev] [Branch ~yade-dev/yade/trunk] Rev 2961: Add check on body existance in GlobalStiffnessTimeStepper. Fixes LP:891540

2011-11-21 Thread Janek Kozicki
BodyContainer::iterator biEnd = bodies->end(); for( ; bi!=biEnd ; ++bi ) { + if (!*bi) continue; shared_ptr b = *bi; I it not possible that iterator will return empty pointer. If it does, then it's a bug in the iterator. It doesn't matter if

Re: [Yade-dev] [Yade-users] We're changing yade-users's membership policy to moderated

2011-11-21 Thread Jérôme Duriez
Ok, let's do it. And it seems (according to mails I got) that you indeed did it. It seems also that you're also an administrator, isn't it ? How much are we, to be able to approve new members ? Le 18/11/2011 23:33, Anton Gladky a écrit : It is one-click operation to approve a new user. Anton