Use more cool features

This commit is contained in:
Charles Milette 2018-12-12 14:35:59 -05:00
parent 7a5591ebde
commit 56b447d665
No known key found for this signature in database
GPG key ID: 1A5AE81377AD973A

View file

@ -57,9 +57,6 @@ public void SetAll(double value)
}
}
public ref double this[int y, int x]
{
get => ref matrix[y, x];
}
public ref double this[int y, int x] => ref matrix[y, x];
}
}