Skip to content

Commit

Permalink
Fix Single-Hop Override.
Browse files Browse the repository at this point in the history
  • Loading branch information
xrq-phys committed Apr 19, 2021
1 parent bf16f82 commit 8a833b1
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/pfupdates/updated_tdi.tcc
Original file line number Diff line number Diff line change
Expand Up @@ -384,8 +384,9 @@ template <typename T> struct updated_tdi {
assemble_C_BMB();

// If it's the first update Pfafian can be directly read out.
if (k == 0) {
PfaRatio = -UMV(0, 0);
if (k == 1) {
PfaRatio = -UMV(0, 0) + T(1.0);
delete[] pfwork;
return;
}

Expand Down

0 comments on commit 8a833b1

Please sign in to comment.