Skip to content

Commit

Permalink
fix bug in simHydros - hz was missing
Browse files Browse the repository at this point in the history
  • Loading branch information
baktoft authored Jan 21, 2021
1 parent b52ab9e commit 0676402
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/simTrack.R
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ simHydros <- function(auto=TRUE, trueTrack=NULL){
hx <- c(hx.min,hx.min,hx.max,hx.max, 0, 500, 500, -500, -500)
hy <- c(hy.min,hy.max,hy.max,hy.min, 0, 500, -500, -500, 500)

hydros <- data.table::data.table(hx=hx, hy=hy)
hydros <- data.table::data.table(hx=hx, hy=hy, hz=1)

return(hydros)
}
Expand Down

0 comments on commit 0676402

Please sign in to comment.