Skip to content

Commit bb5df6c

Browse files
author
Soon Yung Jun
committed
Fix compilation error related to return type
1 parent 7bc64ab commit bb5df6c

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

src/celeritas/g4/EmExtraPhysicsHelper.hh

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,12 @@
1010

1111
#include "corecel/Config.hh"
1212

13+
#include "corecel/math/Quantity.hh"
14+
#include "corecel/math/UnitUtils.hh"
15+
#include "celeritas/Quantities.hh"
16+
#include "celeritas/UnitTypes.hh"
17+
#include "celeritas/phys/AtomicNumber.hh"
18+
1319
class G4GammaNuclearXS;
1420

1521
namespace celeritas
@@ -56,7 +62,7 @@ inline EmExtraPhysicsHelper::EmExtraPhysicsHelper()
5662
CELER_NOT_CONFIGURED("Geant4");
5763
}
5864

59-
inline EmExtraPhysicsHelper::MmSqXs
65+
inline Quantity<UnitProduct<units::Millimeter, units::Millimeter>, double>
6066
EmExtraPhysicsHelper::calc_gamma_nuclear_xs(AtomicNumber z,
6167
MevEnergy energy)() const
6268
{

0 commit comments

Comments
 (0)