Skip to content

Commit

Permalink
, drop=FALSE
Browse files Browse the repository at this point in the history
  • Loading branch information
ms609 committed Feb 12, 2018
1 parent 0fa6571 commit 29f3cc5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/pp_data_manipulation.R
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ MinimumSteps <- function (states) {

if (!any(statesRemaining)) return (tokensUsed - 1)

tokens <- tokens[statesRemaining, !tokenNecessary]
tokens <- tokens[statesRemaining, !tokenNecessary, drop=FALSE]
if (identical(dim(tokens), lastDim)) {
unnecessary <- colSums(tokens) == 1
if (any(unnecessary)) {
Expand Down

0 comments on commit 29f3cc5

Please sign in to comment.