diff --git a/python/python/ert/ecl/ecl_grid.py b/python/python/ert/ecl/ecl_grid.py index d67ce9bf50..5042f44529 100644 --- a/python/python/ert/ecl/ecl_grid.py +++ b/python/python/ert/ecl/ecl_grid.py @@ -1185,7 +1185,7 @@ def write_grdecl( self , ecl_kw , pyfile , special_header = None , default_value if len(ecl_kw) == self.getNumActive() or len(ecl_kw) == self.getGlobalSize(): cfile = CFILE( pyfile ) - self._fwrite_grdecl2( ecl_kw , special_header , cfile , default_value ) + self._fwrite_grdecl( ecl_kw , special_header , cfile , default_value ) else: raise ValueError("Keyword: %s has invalid size(%d), must be either nactive:%d or nx*ny*nz:%d" % (ecl_kw.getName() , len(ecl_kw) , self.getNumActive() , self.getGlobalSize()))