From c5d68f802a5f9c5c0f60dfd21132785ebea5ca4b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C3=A5l=20Gr=C3=B8n=C3=A5s=20Drange?= Date: Tue, 3 May 2016 13:20:55 +0200 Subject: [PATCH] one line shared_ptr to ref fix --- opm/autodiff/GeoProps.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/opm/autodiff/GeoProps.hpp b/opm/autodiff/GeoProps.hpp index c19e37049..2f410db73 100644 --- a/opm/autodiff/GeoProps.hpp +++ b/opm/autodiff/GeoProps.hpp @@ -152,7 +152,7 @@ namespace Opm // Handle NNCs if (eclState) { - nnc_ = *(eclState->getNNC()); + nnc_ = eclState->getNNC(); } // opmfil is hardcoded to be true. i.e the pinch processor is never used