Skip to content

Commit

Permalink
passes my tests for reconhub#28, but breaks other tests (on first run…
Browse files Browse the repository at this point in the history
… of tests()) and regenerates reference files; passes all tests on second run of tests(); not committing new reference files
  • Loading branch information
jrcpulliam committed Dec 13, 2018
1 parent 386c73c commit 3acefbc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions R/extract_info.R
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,12 @@ extract_info <- function(reg, origin, level){
o.names <- colnames(info$doubling.conf)
info$doubling.conf <- info$doubling.conf[, rev(seq_along(o.names)),
drop = FALSE]
info$doubling.conf[info$doubling.conf<0] <- Inf
colnames(info$doubling.conf) <- o.names
} else {
info$halving <- log(0.5) / r
info$halving.conf <- log(0.5) / r.conf
info$halving.conf[info$halving.conf<0] <- Inf
}

## We need to store the date corresponding to 'day 0', as this will be used
Expand Down

0 comments on commit 3acefbc

Please sign in to comment.