EclDefaultMaterial: fix sign error
This commit is contained in:
parent
1c374b8391
commit
96b3d753e2
@ -133,7 +133,7 @@ public:
|
|||||||
{
|
{
|
||||||
values[gPhaseIdx] = pcgn(params, state);
|
values[gPhaseIdx] = pcgn(params, state);
|
||||||
values[oPhaseIdx] = 0;
|
values[oPhaseIdx] = 0;
|
||||||
values[wPhaseIdx] = pcnw(params, state);
|
values[wPhaseIdx] = - pcnw(params, state);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
|
@ -58,7 +58,6 @@ public:
|
|||||||
*/
|
*/
|
||||||
void finalize()
|
void finalize()
|
||||||
{
|
{
|
||||||
// Do nothing: The two two-phase parameter objects need to be finalized themselfs!
|
|
||||||
#ifndef NDEBUG
|
#ifndef NDEBUG
|
||||||
finalized_ = true;
|
finalized_ = true;
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user