We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8f6c636 commit 375c948Copy full SHA for 375c948
R/utils.r
@@ -310,7 +310,7 @@ check_restriction_mat <- function(matrix, name) {
310
if (any(matrix < 0)) {
311
stop(paste(name, " must be a non-negative matrix."))
312
}
313
- if (dim(matrix) != c(length(data), length(data))) {
+ if (any(dim(matrix) != c(length(data), length(data)))) {
314
stop(paste(name, " must be of the same dimensions as data."))
315
316
0 commit comments