Skip to content

Commit

Permalink
Fix one more python and bring sanitizer in line.
Browse files Browse the repository at this point in the history
  • Loading branch information
thorstenhater committed Sep 25, 2024
1 parent cf496cc commit bba2dd6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/sanitize.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion python/example/single_cell_nml.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit bba2dd6

Please sign in to comment.