Skip to content

Commit

Permalink
Fix rys_roots
Browse files Browse the repository at this point in the history
  • Loading branch information
sunqm committed Nov 24, 2020
1 parent 7f7fd08 commit d412fef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/rys_roots.c
Original file line number Diff line number Diff line change
Expand Up @@ -1937,8 +1937,8 @@ static int _rdk_rys_roots(int nroots, double *fmt_ints,
return 0;
}
if (nroots == 1) {
roots[SIMDD] = fmt_ints[1] / (fmt_ints[0] - fmt_ints[1]);
weights[SIMDD] = fmt_ints[0];
roots[0] = fmt_ints[1] / (fmt_ints[0] - fmt_ints[1]);
weights[0] = fmt_ints[0];
return 0;
}

Expand Down

0 comments on commit d412fef

Please sign in to comment.