mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Implement numPhases() by phase_name_.size().
This makes it easier for derived models to add a phase.
This commit is contained in:
parent
67ac59288d
commit
01f7e48693
@ -279,7 +279,7 @@ namespace detail {
|
||||
BlackoilModelBase<Grid, Implementation>::
|
||||
numPhases() const
|
||||
{
|
||||
return fluid_.numPhases();
|
||||
return phase_name_.size();
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user