Skip to content

Commit

Permalink
Ensure mathconstants.hpp is not included before qldefines.hpp
Browse files Browse the repository at this point in the history
  • Loading branch information
lballabio committed Mar 27, 2024
1 parent f5c861c commit 26af266
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ql/math/randomnumbers/stochasticcollocationinvcdf.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@
/*! \file stochasticcollationcdf.cpp
*/

#include <ql/mathconstants.hpp>
#include <ql/math/integrals/gaussianquadratures.hpp>
#include <ql/math/randomnumbers/stochasticcollocationinvcdf.hpp>
#include <ql/mathconstants.hpp>

namespace QuantLib {

Expand Down
2 changes: 1 addition & 1 deletion ql/methods/finitedifferences/solvers/fdmbackwardsolver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
/*! \file fdmbackwardsolver.cpp
*/

#include <ql/mathconstants.hpp>
#include <ql/methods/finitedifferences/finitedifferencemodel.hpp>
#include <ql/methods/finitedifferences/schemes/craigsneydscheme.hpp>
#include <ql/methods/finitedifferences/schemes/cranknicolsonscheme.hpp>
Expand All @@ -35,6 +34,7 @@
#include <ql/methods/finitedifferences/schemes/trbdf2scheme.hpp>
#include <ql/methods/finitedifferences/solvers/fdmbackwardsolver.hpp>
#include <ql/methods/finitedifferences/stepconditions/fdmstepconditioncomposite.hpp>
#include <ql/mathconstants.hpp>
#include <utility>


Expand Down

0 comments on commit 26af266

Please sign in to comment.