Skip to content

Commit

Permalink
type of vector is numeric
Browse files Browse the repository at this point in the history
  • Loading branch information
anadiedrichs committed Mar 17, 2021
1 parent ad1ed53 commit d055b14
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/models.R
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ getTrend <- function(Tmin, t2, n, plot=FALSE)

buildMdz <- function(dw,tempMax,tmin)
{
k = vector(mode = "logical", length = length(dw))
k = vector(mode = "numeric", length = length(dw))

if(checkTemp(dw) && checkTemp(tempMax) && checkTemp(tmin)
&& checkLenght(dw,tmin) && checkLenght(tempMax,tmin))
Expand Down

0 comments on commit d055b14

Please sign in to comment.