代码编写错误修正

将columns修改为column
This commit is contained in:
TheLittleBoy
2014-06-28 10:53:57 +08:00
parent ce63ac6968
commit c51286055f

View File

@ -112,7 +112,7 @@ struct Matrix {
}
set {
assert(indexIsValidForRow(row, column: column), "Index out of range")
grid[(row * columns) + columns] = newValue
grid[(row * columns) + column] = newValue
}
}
}