From bba2dd6214739e7d288adf9374f275c3982628a6 Mon Sep 17 00:00:00 2001 From: Thorsten Hater <24411438+thorstenhater@users.noreply.github.com> Date: Wed, 25 Sep 2024 07:58:36 +0200 Subject: [PATCH] Fix one more python and bring sanitizer in line. --- .github/workflows/sanitize.yml | 4 ++-- python/example/single_cell_nml.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/sanitize.yml b/.github/workflows/sanitize.yml index b75a1ed9a..092c64807 100644 --- a/.github/workflows/sanitize.yml +++ b/.github/workflows/sanitize.yml @@ -27,8 +27,8 @@ jobs: sanitizer: ["address", "undefined", "thread"] simd: ["ON", "OFF"] env: - CC: clang-14 - CXX: clang++-14 + CC: clang-18 + CXX: clang++-18 ASAN_OPTIONS: detect_leaks=1 steps: - name: Get build dependencies diff --git a/python/example/single_cell_nml.py b/python/example/single_cell_nml.py index 013f176c6..86eff5052 100755 --- a/python/example/single_cell_nml.py +++ b/python/example/single_cell_nml.py @@ -63,7 +63,7 @@ ) # Set discretisation: Soma as one CV, 1um everywhere else -cvp = A.cv_data('(replace (single (region "soma")) (max-extent 1.0))') +cvp = A.cv_policy('(replace (single (region "soma")) (max-extent 1.0))') # Combine morphology with region and locset definitions to make a cable cell. cell = A.cable_cell(morpho, decor, labels, cvp)