Skip to content
Snippets Groups Projects
Commit 1e42e298 authored by Eliane Briand's avatar Eliane Briand :100: Committed by Szilárd Páll
Browse files

Fix segfault on calling `make_ndx` without structure file

Fix segfault on calling `make_ndx` with only an index file input (no structure file).

Cause: Migration away from `t_blocka` in d7fca736 was not fully equivalent to previous code - natoms was not set. (`+1` comes from [this](d7fca736) )

Not sure how to emulate inputs at the interactive prompt to add a test for this.

Fixes #4717
parent 5fa933a3
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment