Skip to content

Commit

Permalink
Change int to float in enum type cast
Browse files Browse the repository at this point in the history
  • Loading branch information
mrodozov committed Aug 24, 2019
1 parent e3dba3c commit 09fa6ef
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -191,5 +191,5 @@ float TotemTimingRecHitProducerAlgorithm::constantFractionDiscriminator(const st
(dataProcessed[indexOfThresholdCrossing - 1] - dataProcessed[indexOfThresholdCrossing]) *
(threshold - dataProcessed[indexOfThresholdCrossing]) +
time[indexOfThresholdCrossing]
: (int)TotemTimingRecHit::NO_T_AVAILABLE;
: (float)TotemTimingRecHit::NO_T_AVAILABLE;
}

0 comments on commit 09fa6ef

Please sign in to comment.