~kb/ish

5cce368d952e7e160e4b5ee1e7867f524dbb0d4c — Kim Burgess 5 years ago 9ab46af
fix formatter errors
1 files changed, 2 insertions(+), 2 deletions(-)

M src/ish/count_min_sketch.cr
M src/ish/count_min_sketch.cr => src/ish/count_min_sketch.cr +2 -2
@@ 25,8 25,8 @@ require "./lib/matrix"
# OPTIMIZE: support parallel hashing / increment / count operations when
# supported by Crystal
class Ish::CountMinSketch
  @sketch  : Matrix(UInt32)
  @seeds   : Array({UInt32, UInt32})
  @sketch : Matrix(UInt32)
  @seeds : Array({UInt32, UInt32})

  private macro assert_unit_interval(value)
    if {{value}} <= 0 || {{value}} >= 1