From 2ac2e610e36524956875073f4a3d4697a95648d7 Mon Sep 17 00:00:00 2001 From: Yuri Victorovich Date: Wed, 5 Nov 2025 23:42:36 -0800 Subject: =?UTF-8?q?science/helfem:=20update=20g20210912=20=E2=86=92=20g202?= =?UTF-8?q?51026?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../helfem/files/patch-src_general_dftfuncs.cpp | 38 ---------------------- 1 file changed, 38 deletions(-) delete mode 100644 science/helfem/files/patch-src_general_dftfuncs.cpp (limited to 'science/helfem/files/patch-src_general_dftfuncs.cpp') diff --git a/science/helfem/files/patch-src_general_dftfuncs.cpp b/science/helfem/files/patch-src_general_dftfuncs.cpp deleted file mode 100644 index 999399167b70..000000000000 --- a/science/helfem/files/patch-src_general_dftfuncs.cpp +++ /dev/null @@ -1,38 +0,0 @@ ---- src/general/dftfuncs.cpp.orig 2021-09-12 09:32:14 UTC -+++ src/general/dftfuncs.cpp -@@ -388,7 +388,7 @@ double exact_exchange(int func_id) { - throw std::runtime_error(oss.str()); - } - --#if XC_MAJOR_VERSION < 6 -+#if XC_MAJOR_VERSION < 7 - switch(func.info->family) - { - #ifdef XC_FAMILY_HYB_LDA -@@ -431,7 +431,7 @@ bool is_supported(int func_id) { - throw std::runtime_error(oss.str()); - } - // Get flag --#if XC_MAJOR_VERSION >= 6 -+#if XC_MAJOR_VERSION > 6 - switch(xc_hyb_type(&func)) { - case(XC_HYB_SEMILOCAL): - case(XC_HYB_HYBRID): -@@ -463,7 +463,7 @@ void is_range_separated(int func_id, bool & erf, bool - throw std::runtime_error(oss.str()); - } - // Get flag --#if XC_MAJOR_VERSION < 6 -+#if XC_MAJOR_VERSION < 7 - erf=(func.info->flags & XC_FLAGS_HYB_CAM) || (func.info->flags & XC_FLAGS_HYB_LC); - yukawa=(func.info->flags & XC_FLAGS_HYB_CAMY) || (func.info->flags & XC_FLAGS_HYB_LCY); - #else -@@ -507,7 +507,7 @@ void range_separation(int func_id, double & omega, dou - throw std::runtime_error(oss.str()); - } - --#if XC_MAJOR_VERSION >= 6 -+#if XC_MAJOR_VERSION > 6 - switch(xc_hyb_type(&func)) { - case(XC_HYB_SEMILOCAL): - break; -- cgit v1.2.3