mirror of
https://github.com/gonum/gonum.git
synced 2025-10-06 07:37:03 +08:00
all: run gofmt and generate all packages
Changes made in dsp/fourier/internal/fftpack break the formatting used there, so these are reverted. There will be complaints in CI. [git-generate] gofmt -w . go generate gonum.org/v1/gonum/blas go generate gonum.org/v1/gonum/blas/gonum go generate gonum.org/v1/gonum/unit go generate gonum.org/v1/gonum/unit/constant go generate gonum.org/v1/gonum/graph/formats/dot go generate gonum.org/v1/gonum/graph/formats/rdf go generate gonum.org/v1/gonum/stat/card git checkout -- dsp/fourier/internal/fftpack
This commit is contained in:
@@ -45,11 +45,12 @@ func (a Box) Center() Vec {
|
||||
// for X and Y values and maximum Z value.
|
||||
//
|
||||
// Edges for the box can be constructed with the following indices:
|
||||
// edges := [12][2]int{
|
||||
// {0, 1}, {1, 2}, {2, 3}, {3, 0},
|
||||
// {4, 5}, {5, 6}, {6, 7}, {7, 4},
|
||||
// {0, 4}, {1, 5}, {2, 6}, {3, 7},
|
||||
// }
|
||||
//
|
||||
// edges := [12][2]int{
|
||||
// {0, 1}, {1, 2}, {2, 3}, {3, 0},
|
||||
// {4, 5}, {5, 6}, {6, 7}, {7, 4},
|
||||
// {0, 4}, {1, 5}, {2, 6}, {3, 7},
|
||||
// }
|
||||
func (a Box) Vertices() []Vec {
|
||||
return []Vec{
|
||||
0: a.Min,
|
||||
|
Reference in New Issue
Block a user