mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
[BlackoilPropsFromDeck] remove sign/unsigned warnings.
This commit is contained in:
parent
2dc9d78286
commit
9ab8e6ec93
@ -29,7 +29,7 @@ namespace Opm
|
|||||||
bool init_rock)
|
bool init_rock)
|
||||||
{
|
{
|
||||||
std::vector<int> compressedToCartesianIdx(grid.number_of_cells);
|
std::vector<int> compressedToCartesianIdx(grid.number_of_cells);
|
||||||
for (unsigned cellIdx = 0; cellIdx < grid.number_of_cells; ++cellIdx) {
|
for (int cellIdx = 0; cellIdx < grid.number_of_cells; ++cellIdx) {
|
||||||
if (grid.global_cell) {
|
if (grid.global_cell) {
|
||||||
compressedToCartesianIdx[cellIdx] = grid.global_cell[cellIdx];
|
compressedToCartesianIdx[cellIdx] = grid.global_cell[cellIdx];
|
||||||
}
|
}
|
||||||
@ -52,7 +52,7 @@ namespace Opm
|
|||||||
bool init_rock)
|
bool init_rock)
|
||||||
{
|
{
|
||||||
std::vector<int> compressedToCartesianIdx(grid.number_of_cells);
|
std::vector<int> compressedToCartesianIdx(grid.number_of_cells);
|
||||||
for (unsigned cellIdx = 0; cellIdx < grid.number_of_cells; ++cellIdx) {
|
for (int cellIdx = 0; cellIdx < grid.number_of_cells; ++cellIdx) {
|
||||||
if (grid.global_cell) {
|
if (grid.global_cell) {
|
||||||
compressedToCartesianIdx[cellIdx] = grid.global_cell[cellIdx];
|
compressedToCartesianIdx[cellIdx] = grid.global_cell[cellIdx];
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user