stat: clean up lint

This commit is contained in:
Dan Kortschak
2019-11-21 12:39:19 +10:30
committed by GitHub
parent 6d55676c7d
commit 212233dec6
9 changed files with 36 additions and 33 deletions

View File

@@ -31,7 +31,7 @@ func (e Euclid) At(i, j int) float64 {
y := float64(j/e.x - i/e.x)
return 1 / math.Hypot(x, y)
}
func (e Euclid) T() mat.Matrix { return mat.Transpose{e} }
func (e Euclid) T() mat.Matrix { return mat.Transpose{Matrix: e} }
func ExampleGlobalMoransI_areal() {
locality := Euclid{10, 10}