Skip to content

Commit

Permalink
bug correction in summary.forest()
Browse files Browse the repository at this point in the history
  • Loading branch information
miquelcaceres committed Nov 12, 2024
1 parent 0b8b8b9 commit 6c51fa0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions R/summary.forest.R
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,8 @@ summary.forest<-function(object, SpParams, ...) {
s["SWRground"] <- NA

if(all(!is.na(object$treeData$Height)) && all(!is.na(object$shrubData$Height))) {
light_PARground(object, SpParams)
light_SWRground(object, SpParams)
s["PARground"] <- light_PARground(object, SpParams)
s["SWRground"] <- light_SWRground(object, SpParams)
}
class(s)<-c("summary.forest","list")
return(s)
Expand Down

0 comments on commit 6c51fa0

Please sign in to comment.