mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
make the member functions return a const reference.
This commit is contained in:
@@ -59,13 +59,13 @@ namespace Opm
|
||||
return ads_index_;
|
||||
}
|
||||
|
||||
std::vector<double>
|
||||
const std::vector<double>&
|
||||
PolymerProperties::shearWaterVelocity() const
|
||||
{
|
||||
return water_vel_vals_;
|
||||
}
|
||||
|
||||
std::vector<double>
|
||||
const std::vector<double>&
|
||||
PolymerProperties::shearVrf() const
|
||||
{
|
||||
return shear_vrf_vals_;
|
||||
|
||||
Reference in New Issue
Block a user