mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
make toString() method as static.
This commit is contained in:
@@ -345,7 +345,7 @@ namespace Opm
|
||||
mode);
|
||||
|
||||
if (my_rate > target_rate) {
|
||||
OpmLog::warning("Group " + injSpec().toString(mode)
|
||||
OpmLog::warning("Group " + InjectionSpecification::toString(mode)
|
||||
+ " target not met for group " + name() + "\n"
|
||||
+ "target = " + std::to_string(target_rate) + "\n"
|
||||
+ "rate = " + std::to_string(my_rate));
|
||||
@@ -378,7 +378,7 @@ namespace Opm
|
||||
child_phases_summed.surf_prod_rates,
|
||||
mode);
|
||||
if (std::fabs(my_rate) > target_rate) {
|
||||
OpmLog::warning("Group" + prodSpec().toString(mode)
|
||||
OpmLog::warning("Group" + ProductionSpecification::toString(mode)
|
||||
+ " target not met for group " + name() + "\n"
|
||||
+ "target = " + std::to_string(target_rate) + '\n'
|
||||
+ "rate = " + std::to_string(my_rate));
|
||||
|
Reference in New Issue
Block a user