Merge pull request #182 from csherratt/master

fix closure syntax
This commit is contained in:
tomaka 2015-03-01 19:40:53 +01:00
commit 7c8f2b69a1

View file

@ -1193,7 +1193,7 @@ impl<S: BaseFloat + 'static> Matrix<S, Vector4<S>> for Matrix4<S> {
let one: S = one(); let one: S = one();
let inv_det = one / det; let inv_det = one / det;
let t = self.transpose(); let t = self.transpose();
let cf = |&: i, j| { let cf = |i, j| {
let mat = match i { let mat = match i {
0 => Matrix3::from_cols(t.y.truncate_n(j), 0 => Matrix3::from_cols(t.y.truncate_n(j),
t.z.truncate_n(j), t.z.truncate_n(j),