mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Remove superluous casts.
This commit is contained in:
@@ -233,8 +233,8 @@ try
|
|||||||
Opm::BlackoilStateDataHandle state_handle(global_grid, distributed_grid,
|
Opm::BlackoilStateDataHandle state_handle(global_grid, distributed_grid,
|
||||||
state, distributed_state);
|
state, distributed_state);
|
||||||
Opm::BlackoilPropsDataHandle props_handle(global_grid, distributed_grid,
|
Opm::BlackoilPropsDataHandle props_handle(global_grid, distributed_grid,
|
||||||
static_cast<BlackoilPropsAdFromDeck&>(*new_props),
|
*new_props,
|
||||||
static_cast<BlackoilPropsAdFromDeck&>(*distributed_props));
|
*distributed_props);
|
||||||
grid->scatterData(state_handle);
|
grid->scatterData(state_handle);
|
||||||
grid->scatterData(props_handle);
|
grid->scatterData(props_handle);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user