Skip to content

Commit

Permalink
Added bug fix for no visible binding note
Browse files Browse the repository at this point in the history
  • Loading branch information
ercrema committed Mar 18, 2020
1 parent e1822d9 commit 1e9c79b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions R/calibration.R
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@ calibrate.default <- function(x, errors, ids=NA, dateDetails=NA, calCurves='intc
if (verbose){ print(paste("Running in parallel (standard calibration only) on ",getDoParWorkers()," workers...",sep=""))}
`%dofun%` <- `%dopar%`
}
b <- NULL # Added to solve No Visible Binding for Global Variable NOTE
sublist <- foreach (b=1:length(x)) %dofun% {
calcurve <- cclist[[calCurves[b]]]
calBP <- seq(max(calcurve),min(calcurve),-1)
Expand Down

0 comments on commit 1e9c79b

Please sign in to comment.