Skip to content

Commit 8a9a70b

Browse files
committed
Add missing cast.
1 parent da4aed4 commit 8a9a70b

File tree

1 file changed

+1
-1
lines changed
  • include/boost/geometry/extensions/generic_robust_predicates/strategies/cartesian/detail

1 file changed

+1
-1
lines changed

include/boost/geometry/extensions/generic_robust_predicates/strategies/cartesian/detail/static_filter.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ class static_filter
6161
template <typename ...Reals>
6262
inline int apply(const Reals&... args) const
6363
{
64-
std::array<Real, sizeof...(Reals)> input {args...};
64+
std::array<Real, sizeof...(Reals)> input {static_cast<Real>(args)...};
6565
std::array<Real, boost::mp11::mp_size<evals>::value> results;
6666
approximate_interim<evals, evals, Real>(results, input);
6767
const Real det = get_approx<evals, Expression, Real>(results, input);

0 commit comments

Comments
 (0)