Skip to content

Commit

Permalink
fixes #28
Browse files Browse the repository at this point in the history
  • Loading branch information
RobinHankin committed Dec 11, 2021
1 parent d5cfadc commit 7e56f4a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions R/spray.R
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,8 @@ setClass("spray",
jj <- coeffs(S)
if(is.disord(value)){

stopifnot(consistent(coeffs(S),value))

stopifnot(consistent(jj,value))
if((!identical(hash(jj),hash(value))) & (length(value)>1)){stop("length > 1")}

jj <- value
} else {
Expand Down

0 comments on commit 7e56f4a

Please sign in to comment.