From 4bfd8122eca3fc2f7461af1bc860f22cf6b4fef7 Mon Sep 17 00:00:00 2001 From: Rene Milk <rene.milk@wwu.de> Date: Thu, 9 Mar 2017 09:39:49 +0100 Subject: [PATCH] [python.codegen] mark "is_found" public --- python/dune/xt/codegen.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/python/dune/xt/codegen.py b/python/dune/xt/codegen.py index cac18816b..ddafb270d 100644 --- a/python/dune/xt/codegen.py +++ b/python/dune/xt/codegen.py @@ -17,7 +17,7 @@ def typeid_to_typedef_name(typeid, replacement='_'): return typeid -def _is_found(cache, name): +def is_found(cache, name): if name in cache.keys(): return 'notfound' not in cache[name].lower() return false @@ -25,8 +25,8 @@ def _is_found(cache, name): def la_backends(cache): ret = [] - if _is_found(cache, 'EIGEN3_INCLUDE_DIR'): + if is_found(cache, 'EIGEN3_INCLUDE_DIR'): ret.append('eigen_sparse') - if _is_found(cache, 'dune-istl_DIR'): + if is_found(cache, 'dune-istl_DIR'): ret.append('istl_sparse') return ret -- GitLab