Skip to content

Commit c3b672d

Browse files
macos bug
1 parent 625549b commit c3b672d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pybind/pymodel.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ class PyRadiation {
133133
*/
134134
PyRadiation(Real eps_e, Real eps_B, Real p, Real xi_e = 1, bool IC_cooling = false, bool SSC = false,
135135
bool KN = false)
136-
: rad(eps_e, eps_B, p, xi_e), IC_cooling(IC_cooling), SSC(SSC), KN(KN) {}
136+
: rad(RadParams{eps_e, eps_B, p, xi_e}), IC_cooling(IC_cooling), SSC(SSC), KN(KN) {}
137137

138138
RadParams rad;
139139
bool IC_cooling{false}; ///< Whether to include IC cooling

0 commit comments

Comments
 (0)