We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a1560f8 commit 1cc4a48Copy full SHA for 1cc4a48
pybind/pymodel.h
@@ -28,7 +28,7 @@ struct PyMagnetar {
28
* @param L_0 Luminosity at t = t_0 [erg/s]
29
* @param t_0 Time at which luminosity is L_0 [s]
30
*/
31
- PyMagnetar(Real L_0, Real t_0) : L_0(L_0 * con::erg / con::sec), t_0(t_0 * con::sec) {}
+ PyMagnetar(Real L_0, Real t_0) : L_0(L_0 * unit::erg / unit::sec), t_0(t_0 * unit::sec) {}
32
33
/**
34
* @brief Operator function for the magnetar model
0 commit comments