Skip to content

Commit

Permalink
[ci] Fix msvc se*gfault
Browse files Browse the repository at this point in the history
  • Loading branch information
jcelerier committed May 30, 2023
1 parent 6ec6da6 commit 1a8507a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/ossia/network/dataspace/time.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,9 @@ struct sample_u : public timing_unit<sample_u>
};

template <typename T>
static const T exp_69_12 = ossia::exp2(69. / 12.);
// segfaults on MSVC... ossia::exp2(69. / 12.);
static constexpr T exp_69_12 = 53.817370576237730753992030478925753282562192;

struct playback_speed_u : public timing_unit<playback_speed_u>
{
static constexpr auto text() { constexpr_return(ossia::make_string_array("speed")); }
Expand Down

0 comments on commit 1a8507a

Please sign in to comment.