Skip to content

Commit

Permalink
RegressionTesting
Browse files Browse the repository at this point in the history
  • Loading branch information
ralmond committed Nov 15, 2019
1 parent 3a36505 commit 065dc6c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions R/Experience.R
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,9 @@ NodeExperience <- function (node) {
if (!is.numeric(value)) {
stop("Value must be numeric")
}
dv <- dim(value)
value <- as.numeric(value) #Must be real
dim(value) <- dv #as.numeric does not preserve dim()
parnames <- ParentStates(node)
statecounts <- sapply(parnames,length)
if (length(statecounts) == 0L) {
Expand Down

0 comments on commit 065dc6c

Please sign in to comment.