Skip to content

Commit

Permalink
correct a comment in cross_risib8.cpp (multiply -> divide)
Browse files Browse the repository at this point in the history
  • Loading branch information
kbroman committed Sep 16, 2023
1 parent fa8a362 commit 6412185
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cross_risib8.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ const double RISIB8::step(const int gen_left, const int gen_right, const double
// equations are from Broman (2005) Genetics 169:1133-1146
// doi:10.1534/genetics.104.035212
// see table 4 page 1137
// (need to multiply by the marginal probability, 1/6 or 1/3,
// (need to divide by the marginal probability, 1/6 or 1/3,
// to get these conditional probabilities)
if(gen_left == gen_right) {
if(gen_left == cross_info[2])
Expand Down

0 comments on commit 6412185

Please sign in to comment.