Skip to content

Commit

Permalink
Beatify assertion error in Regrid.scala
Browse files Browse the repository at this point in the history
  • Loading branch information
pomadchin committed Jun 27, 2022
1 parent 9b52ec4 commit bc133d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spark/src/main/scala/geotrellis/spark/regrid/Regrid.scala
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ object Regrid {

private case class Interval[N : Ordering](start: N, end: N) {
val ord = implicitly[Ordering[N]]
assert(ord.compare(start, end) < 1, "Row/col intervals must begin before they end")
assert(ord.compare(start, end) < 1, "row / col intervals must begin before they end")

// let the interval be start to end, inclusive
def intersect(that: Interval[N]) = {
Expand Down

0 comments on commit bc133d2

Please sign in to comment.