Skip to content
Snippets Groups Projects
Commit 8b4fe75e authored by Claus Jonathan Fritzemeier's avatar Claus Jonathan Fritzemeier
Browse files

bug fix in addReact

parent 2858972d
Branches
No related tags found
No related merge requests found
...@@ -319,7 +319,7 @@ addReact <- function(model, ...@@ -319,7 +319,7 @@ addReact <- function(model,
irrev(mod_out) <- TRUE irrev(mod_out) <- TRUE
matchrev(mod_out) <- append(matchrev(model), 0L) matchrev(mod_out) <- append(matchrev(model), 0L)
revReactId <- max(irrev2rev(model))+1 revReactId <- as.integer(max(irrev2rev(model))+1)
irrev2rev(mod_out) <- append(irrev2rev(model), revReactId) irrev2rev(mod_out) <- append(irrev2rev(model), revReactId)
rev2irrev(mod_out) <- rbind(rev2irrev(model), c(nCols, nCols)) rev2irrev(mod_out) <- rbind(rev2irrev(model), c(nCols, nCols))
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment