From d43e472044d51790713abd2c50e2389eee366843 Mon Sep 17 00:00:00 2001 From: Roland Haas Date: Thu, 31 Oct 2013 18:39:00 -0700 Subject: Revert "CarpetLib: make electric_fence parameter restricted" This reverts commit be2bd96c56aa6dd5b1fb6654b130f3e44e049e8e. Sharing parameters between CarpetLib and Carpet can apparantly cause problems. --- Carpet/CarpetLib/param.ccl | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Carpet/CarpetLib/param.ccl b/Carpet/CarpetLib/param.ccl index 95eae6d48..5f1d23b82 100644 --- a/Carpet/CarpetLib/param.ccl +++ b/Carpet/CarpetLib/param.ccl @@ -76,6 +76,10 @@ BOOLEAN poison_new_memory "Try to catch uninitialised data by setting newly allo { } "no" +BOOLEAN electric_fence "Surround each allocated memory block by canaries to check for out-of-bounds accesses" STEERABLE=recover +{ +} "no" + CCTK_INT fence_width "number of guard cells to use" STEERABLE=recover { 1:* :: "any number of cells" @@ -83,10 +87,6 @@ CCTK_INT fence_width "number of guard cells to use" STEERABLE=recover RESTRICTED: -BOOLEAN electric_fence "Surround each allocated memory block by canaries to check for out-of-bounds accesses" STEERABLE=recover -{ -} "no" - CCTK_INT poison_value "Integer value (0..255) used to poison new timelevels (with memset)" STEERABLE=always { 0:255 :: "Must fit into a byte. Use 0 for zero, 255 for nan, and e.g. 113 for a large value." -- cgit v1.2.3