tskit
tskit copied to clipboard
_tskit.lshmm doesn't take NaN in recombination rates
I was trying to run _tskit.lshmm using recombination rates obtained by calling msprime.RateMap.get_rates(). _tskit.lshmm doesn't really handle NaN. I recall encountering this before. Setting the NaN values to zero bypassed the problem.