From 85f689e265cf41894f20769ceee0356fb854de59 Mon Sep 17 00:00:00 2001 From: Thomas Radke Date: Tue, 5 Apr 2005 09:56:00 +0000 Subject: CarpetRegrid: remove invalid restrict qualifier in Automatic_Recursive() Intel compilers seem to ignore the qualifier but g++ didn't compile automatic.cc anymore. darcs-hash:20050405095600-776a0-14eb3587897219c3d8fb95a23befc5c8fa2a8227.gz --- Carpet/CarpetRegrid/src/automatic.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Carpet/CarpetRegrid/src/automatic.cc b/Carpet/CarpetRegrid/src/automatic.cc index 278ad260b..987ef133b 100644 --- a/Carpet/CarpetRegrid/src/automatic.cc +++ b/Carpet/CarpetRegrid/src/automatic.cc @@ -185,7 +185,7 @@ namespace CarpetRegrid { = region.shape() / region.stride(); ivect const lsh = errordata.extent().shape() / region.stride(); - CCTK_REAL const * restrict const errorptr + CCTK_REAL const * const errorptr = (CCTK_REAL const *) errordata.storage(); for (int k=0; k