Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit fe97e59

Browse files
committed
Nothing to see here.
1 parent c7eb267 commit fe97e59

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

infmcmc.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -426,8 +426,8 @@ void infmcmc_updateVectorFieldRWMH(INFCHAIN *C1, INFCHAIN *C2, double logLHDOfPr
426426
double alpha;
427427

428428
// log likelihoods will be the same for both chains
429-
alpha = exp(C1->logLHDCurrentState - logLHDOfProposal);
430-
429+
alpha = exp(C1->logLHDCurrentState - logLHDOfProposal);
430+
431431
if (alpha > 1.0) {
432432
alpha = 1.0;
433433
}

0 commit comments

Comments
 (0)