mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Add missing template qualification.
This commit is contained in:
@@ -114,7 +114,7 @@ namespace Opm {
|
|||||||
// broadcast when applying C^T.
|
// broadcast when applying C^T.
|
||||||
using YField = typename Y::block_type::value_type;
|
using YField = typename Y::block_type::value_type;
|
||||||
assert(y.size() == 1);
|
assert(y.size() == 1);
|
||||||
this->parallel_well_info_->communication().allreduce<std::plus<YField>>(y[0].container().data(),
|
this->parallel_well_info_->communication().template allreduce<std::plus<YField>>(y[0].container().data(),
|
||||||
y[0].container().size());
|
y[0].container().size());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user