Skip to content

Commit

Permalink
fix: Resolve segfault in statistical matching (#183)
Browse files Browse the repository at this point in the history
* Debug segfault

* Test
  • Loading branch information
sebhoerl authored Apr 25, 2023
1 parent 305569c commit 3198174
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

**Under development**

- Fix: Segfault in statistical matching caused by `numba` in recent versions
- Increase reproducibility for BD-TOPO by requiring user to dump the IGN files in 7z'ed GPKG format into one central folder for `bdtopo22`
- Fix: Correctly treat non-movers in CEREMA EDGT for Lyon
- Fix: Properly treat non-movers in EDGT Lyon ADISP data
Expand Down
2 changes: 1 addition & 1 deletion synthesis/population/matched.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def configure(context):
hts = context.config("hts")
context.stage("data.hts.selected", alias = "hts")

@numba.jit(nopython = True, parallel = True)
@numba.jit(nopython = True) # Already parallelized parallel = True)
def sample_indices(uniform, cdf, selected_indices):
indices = np.arange(len(uniform))

Expand Down

0 comments on commit 3198174

Please sign in to comment.