We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e8b3fbb commit 8800399Copy full SHA for 8800399
include/bh_python/multi_weight.hpp
@@ -31,13 +31,11 @@ struct multi_weight_value : public boost::span<T> {
31
return !operator==(values);
32
}
33
34
- void operator+=(const std::vector<T> values) {
35
- operator+=(boost::span<T>(values));
36
- }
+ void operator+=(const std::vector<T> values) { operator+=(boost::span<T>(values)); }
37
38
void operator+=(const boost::span<T> values) {
39
- //template <class S>
40
- //void operator+=(const S values) {
+ // template <class S>
+ // void operator+=(const S values) {
41
if(values.size() != this->size())
42
throw std::runtime_error("size does not match");
43
auto it = this->begin();
0 commit comments