[Rivet] Rivet crash when applying projection

David Grellscheid david.grellscheid at durham.ac.uk
Mon Jan 25 15:34:56 GMT 2010


Hi again,

got it (sort of):

The += operator that is being used is from Boost::assign. Why this 
breaks at -O3 is something I don't want to look at, but using push_back 
works just fine.

You really should remove these globally, report a bug to Boost and use 
push_back. (Not in this order)

   David


David Grellscheid wrote:
> Hi all,
> 
> is += overloaded for vectors to mean push_back?
> You're writing
> 
>      vector<const Particle*> type1;
>      vector<const Particle*> type2;
> 
>     type1 += &ipart;
>     type2 += &ipart;
> 
> Thanks,
> 
>    David
> 
> 
> 
> 
> David Grellscheid wrote:
>>> To exclude any false alarms, I have bootstrapped completely fresh
>>> versions of Rivet & dependencies as follows:
>>>
>>>   ./rivet-bootstrap -j 7 --devmode --hepmc-version=2.05.01 --ignore-lcgext --with-boost=/mt/data-grid/fsiegert/sl4/boost --with-gsl=/usr
>>>
>>>   source rivetenv.sh
>> I'll try this, too.
>>
>>    David
>> _______________________________________________
>> Rivet mailing list
>> Rivet at projects.hepforge.org
>> http://www.hepforge.org/lists/listinfo/rivet
> _______________________________________________
> Rivet mailing list
> Rivet at projects.hepforge.org
> http://www.hepforge.org/lists/listinfo/rivet


More information about the Rivet mailing list