Skip to content

Commit 8800399

Browse files
pre-commit-ci[bot]henryiii
authored andcommitted
style: pre-commit fixes
1 parent e8b3fbb commit 8800399

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

include/bh_python/multi_weight.hpp

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,13 +31,11 @@ struct multi_weight_value : public boost::span<T> {
3131
return !operator==(values);
3232
}
3333

34-
void operator+=(const std::vector<T> values) {
35-
operator+=(boost::span<T>(values));
36-
}
34+
void operator+=(const std::vector<T> values) { operator+=(boost::span<T>(values)); }
3735

3836
void operator+=(const boost::span<T> values) {
39-
//template <class S>
40-
//void operator+=(const S values) {
37+
// template <class S>
38+
// void operator+=(const S values) {
4139
if(values.size() != this->size())
4240
throw std::runtime_error("size does not match");
4341
auto it = this->begin();

0 commit comments

Comments
 (0)