Skip to content

Commit bfacef7

Browse files
committed
Matrix#to_unsafe
1 parent 1211a4d commit bfacef7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/crystaledge/matrix.cr

+2
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,8 @@ module CrystalEdge
7979
self.matrix != other.matrix
8080
end
8181

82+
delegate to_unsafe, to: @matrix
83+
8284
def +(other : typeof(self))
8385
return typeof(self).new { |i| self[i] + other[i] }
8486
end

0 commit comments

Comments
 (0)