Skip to content

Commit

Permalink
Merge pull request #8 from InsightRX/MD-205
Browse files Browse the repository at this point in the history
fix TMD init parameter Q
  • Loading branch information
roninsightrx authored Feb 19, 2019
2 parents 31401ca + a62c2f5 commit 441abc4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
Package: PKPDsim
Type: Package
Title: Simulate ODE models
Version: 1.0.14
Date: 2019-01-21
Version: 1.0.15
Date: 2019-02-19
Author: Ron Keizer
Maintainer: Ron Keizer <[email protected]>
Depends: R (>= 3.0.2)
Expand Down
2 changes: 1 addition & 1 deletion R/model_from_api.R
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ model_from_api <- function(model = NULL,
if(def$misc$model_type == "2cmt_iv") {
def$state_init <- "\
A[0] = TDM_INIT * Vi;\
A[1] = (Q/Vi)*(TDM_INIT * Vi) / (Q/V2i);\
A[1] = (Qi/Vi)*(TDM_INIT * Vi) / (Qi/V2i);\
"
}
}
Expand Down

0 comments on commit 441abc4

Please sign in to comment.