You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
error: no matching constructor for initialization of 'c74::min::range' (aka 'vector<c74::min::atom>')
range { {-1.0, 3.5}, {-4.3, 7.0} }
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
c74_min_attribute.h:758:13: error: static_assert failed due to requirement 'std::is_arithmetic<std::vector<double, std::allocator<double>>>::value' "limiting can only be applied to arithmetic types"
static_assert(std::is_arithmetic<T>::value, "limiting can only be applied to arithmetic types");
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
We'd need to:
be able to construct a c74::min::range of numbers
have a specialization of the constrain method for vectors of numeric types
The text was updated successfully, but these errors were encountered:
Currently, it's not possible to define
attribute<numbers>
with a limit. It'd be nice to be able to do something like:This fails because:
We'd need to:
c74::min::range
ofnumbers
constrain
method for vectors of numeric typesThe text was updated successfully, but these errors were encountered: