Skip to content

Commit

Permalink
ifdef guard for boost using
Browse files Browse the repository at this point in the history
  • Loading branch information
Philipp Basler committed Apr 12, 2021
1 parent 754e1a7 commit 75e8bd7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions include/BSMPT/utility.h
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ enum class ModelIDs;
}
std::ostream &operator<<(std::ostream &os, const ModelID::ModelIDs &Model);

#ifdef Boost_FOUND
#if BOOST_VERSION >= 107200
template <typename T>
using boost_cubic_b_spline =
Expand All @@ -89,5 +90,6 @@ using boost_cubic_b_spline =
template <typename T>
using boost_cubic_b_spline = boost::math::cubic_b_spline<T>;
#endif
#endif

} // namespace BSMPT

0 comments on commit 75e8bd7

Please sign in to comment.