mirror of
https://github.com/OPM/opm-simulators.git
synced 2024-12-18 21:43:27 -06:00
clone_wells(): Assert result equal to input
This adds a debug-mode safety belt that cloning wells produces a comparable set of wells to the input.
This commit is contained in:
parent
464b0c3d15
commit
24804a1f6f
@ -536,6 +536,8 @@ clone_wells(const struct Wells *W)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
assert (wells_equal(newWells, W, false));
|
||||||
|
|
||||||
return newWells;
|
return newWells;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user