Skip to content

Commit

Permalink
oops
Browse files Browse the repository at this point in the history
  • Loading branch information
sargunv committed Jan 9, 2025
1 parent ec73e49 commit a867bab
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ public interface ScaleBarMeasure {
init {
require(units.isNotEmpty()) { "At least one unit must be provided" }
require(mantissas.isNotEmpty()) { "At least one mantissa must be provided" }
require(mantissas.all { it in 0..<10 }) { "Mantissas must be single digit positive integers" }
require(mantissas.all { it in 1..<10 }) { "Mantissas must be single digit positive integers" }
}

private val sortedUnits = units.sortedBy { it.nanometerScale }
Expand Down

0 comments on commit a867bab

Please sign in to comment.