sherpa is hosted by Hepforge, IPPP Durham
close Warning: Can't synchronize with repository "(default)" (/hepforge/svn/sherpa does not appear to be a Subversion repository.). Look in the Trac log for more information.

Changes between Initial Version and Version 1 of Ticket #368, comment 3


Ignore:
Timestamp:
Jan 31, 2017, 10:56:41 PM (7 years ago)
Author:
silvan
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #368, comment 3

    initial v1  
    1 This seems to be platform/compiler specific. I can reproduce it with the example run cards using gcc 6.3.1. The problem occurs in AMEGIC::Point::FindOrder, where a check 'if (!this)' is implemented. That seems to work with older compilers but in general causes undefined behaviour, I believe.
     1This seems to be platform/compiler specific. I can reproduce it with the example run cards using gcc 6.3.1. The problem occurs in AMEGIC::Point::FindOrder, where a check 'if (!this)' is implemented. That seems to work with older compilers but in general causes undefined behaviour, I believe. I attached a patch that (I think) solves this issue. Could someone with better knowledge of Amegic check if it doesn't break anything?