Skip to content

Commit

Permalink
correct error wording
Browse files Browse the repository at this point in the history
  • Loading branch information
Johan Larsson committed Feb 24, 2018
1 parent 9be8c74 commit 81067e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/euler.R
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ euler.default <- function(
areas_disjoint[i] <- areas[i] - sum(areas_disjoint[prev_areas])
}
if (any(areas_disjoint < 0))
stop("Check your set configuration. Your specification resulted in some disjoint areas being set to 0.")
stop("Check your set configuration. Some disjoint areas are negative.")
}

id_sums <- rowSums(id)
Expand Down

0 comments on commit 81067e6

Please sign in to comment.