Skip to content

Commit

Permalink
fixing bug in R version of eppasm.R
Browse files Browse the repository at this point in the history
  • Loading branch information
m-maheu-giroux committed Aug 9, 2024
1 parent c56bc27 commit 9b1da23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/eppasm.R
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ simmod <- function(fp, VERSION = "C") {
testneg_infections_ha <- infections_ha * (testnegpop[,,hivn.idx,i] / hivn_pop_ha)

grad_tn[ , , hivn.idx] <- grad_tn[ , , hivn.idx] - testneg_infections_ha
grad_tn[ , , hivp.idx] <- grad_tn[ , , hivp.idx] - testneg_infections_ha
grad_tn[ , , hivp.idx] <- grad_tn[ , , hivp.idx] + testneg_infections_ha
}

## Do new diagnoses
Expand Down

0 comments on commit 9b1da23

Please sign in to comment.