Skip to content

Commit

Permalink
Fixed scope issue
Browse files Browse the repository at this point in the history
  • Loading branch information
iolojz committed Jan 26, 2017
1 parent e8ce9de commit ee5ff7f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions templates/edm.cpp.in
Expand Up @@ -544,8 +544,8 @@ double DiagramEvaluator<OneLoopDiagram<0>,
auto photonEmitterMass = context.mass<PhotonEmitter>( photonEmitterIndices );
auto exchangeFieldMass = context.mass<ExchangeField>( exchangeFieldIndices );

double photonEmitterChargeCount = chargeCount<PhotonEmitter>( photonEmitterIndices );
double exchangeFieldChargeCount = chargeCount<ExchangeField>( exchangeFieldIndices );
double photonEmitterChargeCount = context.chargeCount<PhotonEmitter>( photonEmitterIndices );
double exchangeFieldChargeCount = context.chargeCount<ExchangeField>( exchangeFieldIndices );

constexpr double numericFactor = oneOver16PiSquared;
double massFactor = photonEmitterMass/(exchangeFieldMass * exchangeFieldMass);
Expand Down Expand Up @@ -590,8 +590,8 @@ double DiagramEvaluator<OneLoopDiagram<1>,
auto photonEmitterMass = context.mass<PhotonEmitter>( photonEmitterIndices );
auto exchangeFieldMass = context.mass<ExchangeField>( exchangeFieldIndices );

double photonEmitterChargeCount = chargeCount<PhotonEmitter>( photonEmitterIndices );
double exchangeFieldChargeCount = chargeCount<ExchangeField>( exchangeFieldIndices );
double photonEmitterChargeCount = context.chargeCount<PhotonEmitter>( photonEmitterIndices );
double exchangeFieldChargeCount = context.chargeCount<ExchangeField>( exchangeFieldIndices );

constexpr double numericFactor = oneOver16PiSquared;
double massFactor = exchangeFieldMass/(photonEmitterMass * photonEmitterMass);
Expand Down

0 comments on commit ee5ff7f

Please sign in to comment.