Fix issues that occured when running ppafm-generate-elff with tip's density#316
Fix issues that occured when running ppafm-generate-elff with tip's density#316yakutovicha merged 10 commits intomainfrom
Conversation
|
I think I see where the segfault is coming from. The first two commands use the |
4c39eac to
2503901
Compare
|
For the Line 323 in 12a9034 into this: import copy
arg_dict = copy.deepcopy(self.cli_args[name]) |
It's working! 👍 |
…#322) The force field arrays were left as dangling pointers when running multiple computational steps in a row, which manifested in #316. This fixes the issue by setting some cleanup code to run on garbage collection. It's not very pretty since you also have to manually run the garbage collector to make sure that the pointers are deleted in time, but it works.
fixes #312
blocked by this.