Skip to content

Commit

Permalink
Try to include MSVC random after putting xad functions globally
Browse files Browse the repository at this point in the history
  • Loading branch information
xcelerit-team authored Oct 4, 2024
1 parent 52d69c8 commit 0d9476a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ql/qlrisks.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -478,15 +478,15 @@ namespace boost {
// MSVC specialisations / fixes
#ifdef _MSC_VER

#include <random>

// required for random - as it calls ::sqrt on arguments
using xad::sqrt;
using xad::pow;
using xad::exp;
using xad::log;
using xad::tan;

#include <random>

namespace std {

// this is needed to avoid std::random to revert to a binary / constexpr
Expand Down

0 comments on commit 0d9476a

Please sign in to comment.