From 6bfe3b28d3a1e0a5a9b13170a5a0bceee8e1f21c Mon Sep 17 00:00:00 2001 From: Denis Davydov Date: Mon, 22 Feb 2016 13:52:33 +0100 Subject: [PATCH] temporary mark max/min element in grid_refinement for complex-valued PETSc as NotImplemented --- source/grid/grid_refinement.cc | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/source/grid/grid_refinement.cc b/source/grid/grid_refinement.cc index 629e6ed1e4..a31f4d159b 100644 --- a/source/grid/grid_refinement.cc +++ b/source/grid/grid_refinement.cc @@ -71,8 +71,12 @@ namespace // to get the array of values from PETSc // in every iteration), but works PetscScalar m = 0; +#ifndef PETSC_USE_COMPLEX for (unsigned int i=0; i