Skip to content

Commit

Permalink
* R/readConfigurations.R: Fix typo.
Browse files Browse the repository at this point in the history
  • Loading branch information
MLopez-Ibanez committed Aug 23, 2023
1 parent 03bcb65 commit 71ed509
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/readConfiguration.R
Original file line number Diff line number Diff line change
Expand Up @@ -366,7 +366,7 @@ setup_test_instances <- function(scenario)
}
if (!is.null(testInstances)) {
if (!is.null(dim(testInstances))) {
if (length(dim(estInstances)) == 1L ||
if (length(dim(testInstances)) == 1L ||
(length(dim(testInstances)) == 2L && dim(testInstances)[1] == 1L)) {
# Remove useless dimensions
testInstances <- c(testInstances)
Expand Down

0 comments on commit 71ed509

Please sign in to comment.