Ticket #259: 143_clang.patch
File 143_clang.patch, 6.2 KB (added by , 11 years ago) |
---|
-
METOOLS/Currents/F_C.C
diff -rupN SHERPA-MC-1.4.3_original/METOOLS/Currents/F_C.C SHERPA-MC-1.4.3/METOOLS/Currents/F_C.C
void CF<SType>::AddPropagator() 129 129 msg_Debugging()<<"pp = "<<pp<<", pm = "<<pm<<", pt = "<<pt<<"\n"; 130 130 #endif 131 131 for (size_t i(0);i<m_j.size();++i) { 132 CSpinorType_Vector *j(m_j[i]. Get<CSpinorType>());132 CSpinorType_Vector *j(m_j[i].template Get<CSpinorType>()); 133 133 for (typename CSpinorType_Vector::iterator 134 134 jit(j->begin());jit!=j->end();++jit) { 135 135 CSpinorType j((*jit)->R(),(*jit)->B(),(**jit)(0),(**jit)(1), -
METOOLS/Currents/S_C.C
diff -rupN SHERPA-MC-1.4.3_original/METOOLS/Currents/S_C.C SHERPA-MC-1.4.3/METOOLS/Currents/S_C.C
void CS<SType>::AddPropagator() 102 102 <<this->m_p.Abs2()<<", m = "<<sqrt(m_cmass2)<<"\n"; 103 103 #endif 104 104 for (size_t i(0);i<m_j.size();++i) { 105 CScalarType_Vector *j(m_j[i]. Get<CScalarType>());105 CScalarType_Vector *j(m_j[i].template Get<CScalarType>()); 106 106 for (typename CScalarType_Vector::iterator 107 107 jit(j->begin());jit!=j->end();++jit) **jit*=prop; 108 108 } -
METOOLS/Currents/T_C.C
diff -rupN SHERPA-MC-1.4.3_original/METOOLS/Currents/T_C.C SHERPA-MC-1.4.3/METOOLS/Currents/T_C.C
void CP<SType>::AddPropagator() 74 74 { 75 75 // add propagator for off-shell leg 76 76 for (size_t i(0);i<m_j.size();++i) { 77 CAsT4Type_Vector *j(m_j[i]. Get<CAsT4Type>());77 CAsT4Type_Vector *j(m_j[i].template Get<CAsT4Type>()); 78 78 for (typename CAsT4Type_Vector::iterator 79 79 jit(j->begin());jit!=j->end();++jit) **jit*=m_prop; 80 80 } -
METOOLS/Currents/V_C.C
diff -rupN SHERPA-MC-1.4.3_original/METOOLS/Currents/V_C.C SHERPA-MC-1.4.3/METOOLS/Currents/V_C.C
void CV<SType>::AddPropagator() 209 209 msg_Debugging()<<"propagator: "<<prop<<"\n"; 210 210 #endif 211 211 for (size_t i(0);i<m_j.size();++i) { 212 CVec4Type_Vector *j(m_j[i]. Get<CVec4Type>());212 CVec4Type_Vector *j(m_j[i].template Get<CVec4Type>()); 213 213 if (!this->m_fl.Strong()) { 214 214 if (!this->m_msv) 215 215 for (typename CVec4Type_Vector::iterator -
METOOLS/Vertices/SSVV_LC.C
diff -rupN SHERPA-MC-1.4.3_original/METOOLS/Vertices/SSVV_LC.C SHERPA-MC-1.4.3/METOOLS/Vertices/SSVV_LC.C
void SSVV_Calculator<SType>::Evaluate() 110 110 for (jit[1]=ccb.begin();jit[1]!=ccb.end();++jit[1]) { 111 111 for (jit[2]=cce.begin();jit[2]!=cce.end();++jit[2],++i) { 112 112 if (m_dir==0) { 113 const CVec4Type_Vector *ca(jit[m_n[1]]-> Get<CVec4Type>());114 const CVec4Type_Vector *cb(jit[m_n[2]]-> Get<CVec4Type>());115 const CScalarType_Vector *ce(jit[m_n[0]]-> Get<CScalarType>());113 const CVec4Type_Vector *ca(jit[m_n[1]]->template Get<CVec4Type>()); 114 const CVec4Type_Vector *cb(jit[m_n[2]]->template Get<CVec4Type>()); 115 const CScalarType_Vector *ce(jit[m_n[0]]->template Get<CScalarType>()); 116 116 for (typename CVec4Type_Vector::const_iterator 117 117 ait(ca->begin());ait!=ca->end();++ait) 118 118 for (typename CVec4Type_Vector::const_iterator … … void SSVV_Calculator<SType>::Evaluate() 134 134 } 135 135 } 136 136 else { 137 const CScalarType_Vector *ca(jit[m_n[0]]-> Get<CScalarType>());138 const CScalarType_Vector *cb(jit[m_n[1]]-> Get<CScalarType>());139 const CVec4Type_Vector *ce(jit[m_n[2]]-> Get<CVec4Type>());137 const CScalarType_Vector *ca(jit[m_n[0]]->template Get<CScalarType>()); 138 const CScalarType_Vector *cb(jit[m_n[1]]->template Get<CScalarType>()); 139 const CVec4Type_Vector *ce(jit[m_n[2]]->template Get<CVec4Type>()); 140 140 for (typename CScalarType_Vector::const_iterator 141 141 ait(ca->begin());ait!=ca->end();++ait) 142 142 for (typename CScalarType_Vector::const_iterator -
METOOLS/Vertices/VVVV_LC.C
diff -rupN SHERPA-MC-1.4.3_original/METOOLS/Vertices/VVVV_LC.C SHERPA-MC-1.4.3/METOOLS/Vertices/VVVV_LC.C
void VVVV_Calculator<SType>::Evaluate() 83 83 for (jit[0]=cca.begin();jit[0]!=cca.end();++jit[0]) { 84 84 for (jit[1]=ccb.begin();jit[1]!=ccb.end();++jit[1]) { 85 85 for (jit[2]=cce.begin();jit[2]!=cce.end();++jit[2],++i) { 86 const CVec4Type_Vector *ca(jit[m_n[0]]-> Get<CVec4Type>());87 const CVec4Type_Vector *cb(jit[m_n[1]]-> Get<CVec4Type>());88 const CVec4Type_Vector *ce(jit[m_n[2]]-> Get<CVec4Type>());86 const CVec4Type_Vector *ca(jit[m_n[0]]->template Get<CVec4Type>()); 87 const CVec4Type_Vector *cb(jit[m_n[1]]->template Get<CVec4Type>()); 88 const CVec4Type_Vector *ce(jit[m_n[2]]->template Get<CVec4Type>()); 89 89 for (typename CVec4Type_Vector::const_iterator 90 90 eit(ce->begin());eit!=ce->end();++eit) 91 91 for (typename CVec4Type_Vector::const_iterator -
PHASIC++/Main/Phase_Space_Handler.C
diff -rupN SHERPA-MC-1.4.3_original/PHASIC++/Main/Phase_Space_Handler.C SHERPA-MC-1.4.3/PHASIC++/Main/Phase_Space_Handler.C
void Phase_Space_Handler::AddStats(const 857 857 template Weight_Info &ATOOLS::Blob_Data_Base::Get<Weight_Info>(); 858 858 859 859 namespace ATOOLS { 860 std::ostream & operator<<(std::ostream & s, const PHASIC::Weight_Info & wi)861 {862 s<<" w = "<<wi.m_weight<<std::endl;863 return s;864 }865 }866 867 namespace ATOOLS {868 860 template <> Blob_Data<Weight_Info>::~Blob_Data() {} 869 861 870 862 template class Blob_Data<Weight_Info>; -
PHASIC++/Main/Phase_Space_Handler.H
diff -rupN SHERPA-MC-1.4.3_original/PHASIC++/Main/Phase_Space_Handler.H SHERPA-MC-1.4.3/PHASIC++/Main/Phase_Space_Handler.H
namespace PHASIC { 63 63 64 64 };// end of struct Weight_Info 65 65 66 inline std::ostream & operator<<(std::ostream & s, const PHASIC::Weight_Info & wi) 67 { 68 s<<" w = "<<wi.m_weight<<std::endl; 69 return s; 70 } 71 66 72 class Phase_Space_Integrator; 67 73 class Process_Base; 68 74