EclDefaultMaterial: fix sign error

This commit is contained in:
Andreas Lauser 2014-03-27 19:00:52 +01:00
parent 1c374b8391
commit 96b3d753e2
2 changed files with 1 additions and 2 deletions

View File

@ -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);
} }
/*! /*!

View File

@ -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