statgen / Minimac4

GNU General Public License v3.0
56 stars 20 forks source link

Added a check of to avoid using uninitialized NoBestMatchFullRefHaps #18

Closed hguturu closed 5 years ago

hguturu commented 5 years ago

I believe loop should never run if MyAllVariables->myModelVariables.probThreshold=0.0, but since NoBestMatchFullRefHaps remains uninitialized it can and that leads to a Segmentation fault.

I think this closes #17.