1
1
mirror of https://github.com/github/semantic.git synced 2024-11-28 18:23:44 +03:00

Matrix.values is private.

This commit is contained in:
Rob Rix 2015-10-06 13:00:01 -04:00
parent e4689b9102
commit bdabcc5c24

View File

@ -20,7 +20,7 @@ struct Matrix<A> {
let width: Int let width: Int
let height: Int let height: Int
let values: [Memo<A>] private let values: [Memo<A>]
subscript (i: Int, j: Int) -> Memo<A>? { subscript (i: Int, j: Int) -> Memo<A>? {
guard i < width && j < height else { return nil } guard i < width && j < height else { return nil }