rmatrix 0.1.16 → 0.1.17

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f750d39292b5a4d110f36de0c5fda560904873b6
4
- data.tar.gz: 03c9b1b221bdec361ca1e2776ffe4b619198871f
3
+ metadata.gz: 086a2b50321d23257cc4370fe65f3f1ebff27ce0
4
+ data.tar.gz: 4c3c8e4c5e02e0992bcf4b0f7f2609b436757c17
5
5
  SHA512:
6
- metadata.gz: 387e2d1cc39eafd3721de098885838ca942acdb981ed6de3b07f079c1bde4a5c6f482d03a7f55052c92538c699cc50ddca152515d597170324e2438fc1abb547
7
- data.tar.gz: 814ff704255123b6782118a88d623b9d06e59312724aaed0744df6a09818fb6f7ee4a9a54941423573b6bc993f93083f910cf82acee21d3c0f6810587d14f2b1
6
+ metadata.gz: beb67f3e7e779d2b3b3f0236a981510fdd83dd53c5deaf25b3903c0ed5205bcaec6b297aca3524c26285633b576e9fe0c582ea850b0c9abdbe3c8931eaf89779
7
+ data.tar.gz: 40751a6bb5d41fc38d09a3990340ae6318d0a99e9a001ce321363b153e865b32391680df625a019a9dc21b324d5d927fc313146c8b8988ecbcfa50d7198ee170
@@ -50,14 +50,14 @@ module RMatrix
50
50
  if column_overlap
51
51
  printed_rows.times do |row|
52
52
  self[max_columns + column_offset - 1, row + row_offset] = '…'
53
- self[max_columns + column_offset, row + row_offset] = matrix[row, -1].first
53
+ self[max_columns + column_offset, row + row_offset] = matrix.raw[row, -1]
54
54
  end
55
55
  end
56
56
 
57
57
  if row_overlap
58
58
  printed_columns.times do |column|
59
59
  self[column + column_offset, max_rows + row_offset - 1] = '⋮'
60
- self[column + column_offset, max_rows + row_offset] = matrix[-1, column].first
60
+ self[column + column_offset, max_rows + row_offset] = matrix.raw[-1, column]
61
61
  end
62
62
  end
63
63
 
@@ -65,7 +65,7 @@ module RMatrix
65
65
  self[printed_columns + column_offset - 1, printed_rows + row_offset - 1] = "⋱"
66
66
  self[printed_columns + column_offset - 1, printed_rows + row_offset] = '⋮'
67
67
  self[printed_columns + column_offset, printed_rows + row_offset - 1] = '…'
68
- self[printed_columns + column_offset, printed_rows + row_offset] = matrix[-1, -1].first
68
+ self[printed_columns + column_offset, printed_rows + row_offset] = matrix.raw[-1, -1]
69
69
  end
70
70
 
71
71
  self[self.column_count - 1, self.row_count - 1] = ']'
@@ -1,3 +1,3 @@
1
1
  module RMatrix
2
- VERSION = "0.1.16"
2
+ VERSION = "0.1.17"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rmatrix
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.16
4
+ version: 0.1.17
5
5
  platform: ruby
6
6
  authors:
7
7
  - Wouter Coppieters