Skip to content

Commit 6e3b527

Browse files
committed
Crystal 0.30.0 compatibility.
Fix #4
1 parent dec30bd commit 6e3b527

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/crystaledge/matrix.cr

+4
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,10 @@ module CrystalEdge
3737

3838
delegate each, to_unsafe, to: matrix
3939

40+
def unsafe_fetch(idx : Int)
41+
matrix.unsafe_fetch idx
42+
end
43+
4044
# Returns width (number of columns)
4145
def width
4246
W

0 commit comments

Comments
 (0)