diff --git a/blas/native/general_single.go b/blas/native/general_single.go index d3f6582e..61e610bb 100644 --- a/blas/native/general_single.go +++ b/blas/native/general_single.go @@ -1,4 +1,4 @@ -// Code generated by "go generate github.com/gonum/blas/native"; DO NOT EDIT. +// Code generated by "go generate gonum.org/v1/gonum/blas/native"; DO NOT EDIT. // Copyright ©2014 The gonum Authors. All rights reserved. // Use of this source code is governed by a BSD-style diff --git a/blas/native/level1single.go b/blas/native/level1single.go index a57237d8..6c9bfd58 100644 --- a/blas/native/level1single.go +++ b/blas/native/level1single.go @@ -1,4 +1,4 @@ -// Code generated by "go generate github.com/gonum/blas/native"; DO NOT EDIT. +// Code generated by "go generate gonum.org/v1/gonum/blas/native"; DO NOT EDIT. // Copyright ©2015 The gonum Authors. All rights reserved. // Use of this source code is governed by a BSD-style diff --git a/blas/native/level1single_dsdot.go b/blas/native/level1single_dsdot.go index e3cef432..7c9fc1fd 100644 --- a/blas/native/level1single_dsdot.go +++ b/blas/native/level1single_dsdot.go @@ -1,4 +1,4 @@ -// Code generated by "go generate github.com/gonum/blas/native"; DO NOT EDIT. +// Code generated by "go generate gonum.org/v1/gonum/blas/native"; DO NOT EDIT. // Copyright ©2015 The gonum Authors. All rights reserved. // Use of this source code is governed by a BSD-style diff --git a/blas/native/level1single_sdot.go b/blas/native/level1single_sdot.go index 66c80472..0d7e1a0b 100644 --- a/blas/native/level1single_sdot.go +++ b/blas/native/level1single_sdot.go @@ -1,4 +1,4 @@ -// Code generated by "go generate github.com/gonum/blas/native"; DO NOT EDIT. +// Code generated by "go generate gonum.org/v1/gonum/blas/native"; DO NOT EDIT. // Copyright ©2015 The gonum Authors. All rights reserved. // Use of this source code is governed by a BSD-style diff --git a/blas/native/level1single_sdsdot.go b/blas/native/level1single_sdsdot.go index af1f984a..2830db71 100644 --- a/blas/native/level1single_sdsdot.go +++ b/blas/native/level1single_sdsdot.go @@ -1,4 +1,4 @@ -// Code generated by "go generate github.com/gonum/blas/native"; DO NOT EDIT. +// Code generated by "go generate gonum.org/v1/gonum/blas/native"; DO NOT EDIT. // Copyright ©2015 The gonum Authors. All rights reserved. // Use of this source code is governed by a BSD-style diff --git a/blas/native/level2single.go b/blas/native/level2single.go index 8a367445..44619f11 100644 --- a/blas/native/level2single.go +++ b/blas/native/level2single.go @@ -1,4 +1,4 @@ -// Code generated by "go generate github.com/gonum/blas/native"; DO NOT EDIT. +// Code generated by "go generate gonum.org/v1/gonum/blas/native"; DO NOT EDIT. // Copyright ©2014 The gonum Authors. All rights reserved. // Use of this source code is governed by a BSD-style diff --git a/blas/native/level3single.go b/blas/native/level3single.go index ead11996..53d0ba1f 100644 --- a/blas/native/level3single.go +++ b/blas/native/level3single.go @@ -1,4 +1,4 @@ -// Code generated by "go generate github.com/gonum/blas/native"; DO NOT EDIT. +// Code generated by "go generate gonum.org/v1/gonum/blas/native"; DO NOT EDIT. // Copyright ©2014 The gonum Authors. All rights reserved. // Use of this source code is governed by a BSD-style diff --git a/blas/native/sgemm.go b/blas/native/sgemm.go index 2384d1b2..277e0afe 100644 --- a/blas/native/sgemm.go +++ b/blas/native/sgemm.go @@ -1,4 +1,4 @@ -// Code generated by "go generate github.com/gonum/blas/native"; DO NOT EDIT. +// Code generated by "go generate gonum.org/v1/gonum/blas/native"; DO NOT EDIT. // Copyright ©2014 The gonum Authors. All rights reserved. // Use of this source code is governed by a BSD-style diff --git a/blas/native/single_precision.bash b/blas/native/single_precision.bash index 72a75b99..86185e88 100755 --- a/blas/native/single_precision.bash +++ b/blas/native/single_precision.bash @@ -11,7 +11,7 @@ WARNING='//\ # Level1 routines. echo Generating level1single.go -echo -e '// Code generated by "go generate github.com/gonum/blas/native"; DO NOT EDIT.\n' > level1single.go +echo -e '// Code generated by "go generate gonum.org/v1/gonum/blas/native"; DO NOT EDIT.\n' > level1single.go cat level1double.go \ | gofmt -r 'blas.Float64Level1 -> blas.Float32Level1' \ \ @@ -28,12 +28,12 @@ cat level1double.go \ -e 's_^// D_// S_' \ -e "s_^\(func (Implementation) \)Id\(.*\)\$_$WARNING\1Is\2_" \ -e 's_^// Id_// Is_' \ - -e 's_"github.com/gonum/internal/asm/f64"_"github.com/gonum/internal/asm/f32"_' \ - -e 's_"math"_math "github.com/gonum/blas/native/internal/math32"_' \ + -e 's_"gonum.org/v1/gonum/internal/asm/f64"_"gonum.org/v1/gonum/internal/asm/f32"_' \ + -e 's_"math"_math "gonum.org/v1/gonum/blas/native/internal/math32"_' \ >> level1single.go echo Generating level1single_sdot.go -echo -e '// Code generated by "go generate github.com/gonum/blas/native"; DO NOT EDIT.\n' > level1single_sdot.go +echo -e '// Code generated by "go generate gonum.org/v1/gonum/blas/native"; DO NOT EDIT.\n' > level1single_sdot.go cat level1double_ddot.go \ | gofmt -r 'float64 -> float32' \ \ @@ -42,11 +42,11 @@ cat level1double_ddot.go \ \ | sed -e "s_^\(func (Implementation) \)D\(.*\)\$_$WARNING\1S\2_" \ -e 's_^// D_// S_' \ - -e 's_"github.com/gonum/internal/asm/f64"_"github.com/gonum/internal/asm/f32"_' \ + -e 's_"gonum.org/v1/gonum/internal/asm/f64"_"gonum.org/v1/gonum/internal/asm/f32"_' \ >> level1single_sdot.go echo Generating level1single_dsdot.go -echo -e '// Code generated by "go generate github.com/gonum/blas/native"; DO NOT EDIT.\n' > level1single_dsdot.go +echo -e '// Code generated by "go generate gonum.org/v1/gonum/blas/native"; DO NOT EDIT.\n' > level1single_dsdot.go cat level1double_ddot.go \ | gofmt -r '[]float64 -> []float32' \ \ @@ -55,11 +55,11 @@ cat level1double_ddot.go \ \ | sed -e "s_^\(func (Implementation) \)D\(.*\)\$_$WARNING\1Ds\2_" \ -e 's_^// D_// Ds_' \ - -e 's_"github.com/gonum/internal/asm/f64"_"github.com/gonum/internal/asm/f32"_' \ + -e 's_"gonum.org/v1/gonum/internal/asm/f64"_"gonum.org/v1/gonum/internal/asm/f32"_' \ >> level1single_dsdot.go echo Generating level1single_sdsdot.go -echo -e '// Code generated by "go generate github.com/gonum/blas/native"; DO NOT EDIT.\n' > level1single_sdsdot.go +echo -e '// Code generated by "go generate gonum.org/v1/gonum/blas/native"; DO NOT EDIT.\n' > level1single_sdsdot.go cat level1double_ddot.go \ | gofmt -r 'float64 -> float32' \ \ @@ -70,14 +70,14 @@ cat level1double_ddot.go \ -e 's_^// D\(.*\)$_// Sds\1 plus a constant_' \ -e 's_\\sum_alpha + \\sum_' \ -e 's/n int/n int, alpha float32/' \ - -e 's_"github.com/gonum/internal/asm/f64"_"github.com/gonum/internal/asm/f32"_' \ + -e 's_"gonum.org/v1/gonum/internal/asm/f64"_"gonum.org/v1/gonum/internal/asm/f32"_' \ >> level1single_sdsdot.go # Level2 routines. echo Generating level2single.go -echo -e '// Code generated by "go generate github.com/gonum/blas/native"; DO NOT EDIT.\n' > level2single.go +echo -e '// Code generated by "go generate gonum.org/v1/gonum/blas/native"; DO NOT EDIT.\n' > level2single.go cat level2double.go \ | gofmt -r 'blas.Float64Level2 -> blas.Float32Level2' \ \ @@ -94,14 +94,14 @@ cat level2double.go \ \ | sed -e "s_^\(func (Implementation) \)D\(.*\)\$_$WARNING\1S\2_" \ -e 's_^// D_// S_' \ - -e 's_"github.com/gonum/internal/asm/f64"_"github.com/gonum/internal/asm/f32"_' \ + -e 's_"gonum.org/v1/gonum/internal/asm/f64"_"gonum.org/v1/gonum/internal/asm/f32"_' \ >> level2single.go # Level3 routines. echo Generating level3single.go -echo -e '// Code generated by "go generate github.com/gonum/blas/native"; DO NOT EDIT.\n' > level3single.go +echo -e '// Code generated by "go generate gonum.org/v1/gonum/blas/native"; DO NOT EDIT.\n' > level3single.go cat level3double.go \ | gofmt -r 'blas.Float64Level3 -> blas.Float32Level3' \ \ @@ -112,11 +112,11 @@ cat level3double.go \ \ | sed -e "s_^\(func (Implementation) \)D\(.*\)\$_$WARNING\1S\2_" \ -e 's_^// D_// S_' \ - -e 's_"github.com/gonum/internal/asm/f64"_"github.com/gonum/internal/asm/f32"_' \ + -e 's_"gonum.org/v1/gonum/internal/asm/f64"_"gonum.org/v1/gonum/internal/asm/f32"_' \ >> level3single.go echo Generating general_single.go -echo -e '// Code generated by "go generate github.com/gonum/blas/native"; DO NOT EDIT.\n' > general_single.go +echo -e '// Code generated by "go generate gonum.org/v1/gonum/blas/native"; DO NOT EDIT.\n' > general_single.go cat general_double.go \ | gofmt -r 'float64 -> float32' \ \ @@ -124,12 +124,12 @@ cat general_double.go \ | gofmt -r 'newGeneral64 -> newGeneral32' \ \ | sed -e 's/(g general64) print()/(g general32) print()/' \ - -e 's_"math"_math "github.com/gonum/blas/native/internal/math32"_' \ - -e 's_"github.com/gonum/internal/asm/f64"_"github.com/gonum/internal/asm/f32"_' \ + -e 's_"math"_math "gonum.org/v1/gonum/blas/native/internal/math32"_' \ + -e 's_"gonum.org/v1/gonum/internal/asm/f64"_"gonum.org/v1/gonum/internal/asm/f32"_' \ >> general_single.go echo Generating sgemm.go -echo -e '// Code generated by "go generate github.com/gonum/blas/native"; DO NOT EDIT.\n' > sgemm.go +echo -e '// Code generated by "go generate gonum.org/v1/gonum/blas/native"; DO NOT EDIT.\n' > sgemm.go cat dgemm.go \ | gofmt -r 'float64 -> float32' \ | gofmt -r 'general64 -> general32' \ @@ -152,5 +152,5 @@ cat dgemm.go \ | sed -e "s_^\(func (Implementation) \)D\(.*\)\$_$WARNING\1S\2_" \ -e 's_^// D_// S_' \ -e 's_^// d_// s_' \ - -e 's_"github.com/gonum/internal/asm/f64"_"github.com/gonum/internal/asm/f32"_' \ + -e 's_"gonum.org/v1/gonum/internal/asm/f64"_"gonum.org/v1/gonum/internal/asm/f32"_' \ >> sgemm.go diff --git a/blas/testblas/benchautogen/autogen_bench_level1double.go b/blas/testblas/benchautogen/autogen_bench_level1double.go index 12141afa..944a1ab7 100644 --- a/blas/testblas/benchautogen/autogen_bench_level1double.go +++ b/blas/testblas/benchautogen/autogen_bench_level1double.go @@ -20,13 +20,13 @@ var copyrightnotice = []byte(`// Copyright 2014 The Gonum Authors. All rights re // Use of this code is governed by a BSD-style // license that can be found in the LICENSE file`) -var autogen = []byte("// Code generated by \"go run github.com/gonum/blas/testblas/benchautogen/autogen_bench_level1double.go\"; DO NOT EDIT.\n") +var autogen = []byte("// Code generated by \"go run gonum.org/v1/gonum/blas/testblas/benchautogen/autogen_bench_level1double.go\"; DO NOT EDIT.\n") var imports = []byte(`import( "math/rand" "testing" - "github.com/gonum/blas" + "gonum.org/v1/gonum/blas" )`) var randomSliceFunction = []byte(`func randomSlice(l, idx int) ([]float64) { @@ -180,7 +180,7 @@ func init() { } func main() { - blasPath := filepath.Join(gopath, "src", "github.com", "gonum", "blas") + blasPath := filepath.Join(gopath, "src", "gonum.org", "v1", "gonum", "blas") pkgs := []struct{ name string }{{name: "native"}, {name: "cgo"}} @@ -191,7 +191,7 @@ func main() { os.Exit(1) } - err = exec.Command("go", "fmt", path.Join("github.com", "gonum", "blas", pkg.name)).Run() + err = exec.Command("go", "fmt", path.Join("gonum.org", "v1", "gonum", "blas", pkg.name)).Run() if err != nil { fmt.Println(err) os.Exit(1) diff --git a/graph/formats/dot/README.md b/graph/formats/dot/README.md index 6949ce03..a26ca902 100644 --- a/graph/formats/dot/README.md +++ b/graph/formats/dot/README.md @@ -4,6 +4,6 @@ The source code and any original content of the formats/dot directory is released under [Public Domain Dedication](https://creativecommons.org/publicdomain/zero/1.0/). -The source code is also licensed under the gonum license, and users are free to choice the license which suits their needs. +The source code is also licensed under the gonum license, and users are free to choose the license which suits their needs. -Please see github.com/gonum/license for general license information, contributors, authors, etc on the Gonum suite of packages. +Please see gonum.org/v1/gonum for general license information, contributors, authors, etc on the Gonum suite of packages. diff --git a/graph/formats/dot/internal/dot.bnf b/graph/formats/dot/internal/dot.bnf index a86a867c..1a568dc0 100644 --- a/graph/formats/dot/internal/dot.bnf +++ b/graph/formats/dot/internal/dot.bnf @@ -154,8 +154,8 @@ _block_comment : '/' '*' { . | '*' } '*' '/' ; // ### [ Syntax ] ############################################################## << import ( - "github.com/gonum/graph/formats/dot/ast" - "github.com/gonum/graph/formats/dot/internal/astx" + "gonum.org/v1/gonum/graph/formats/dot/ast" + "gonum.org/v1/gonum/graph/formats/dot/internal/astx" ) >> // === [ Files ] =============================================================== diff --git a/graph/formats/dot/internal/lexer/lexer.go b/graph/formats/dot/internal/lexer/lexer.go index 20807b04..1b8b1c63 100644 --- a/graph/formats/dot/internal/lexer/lexer.go +++ b/graph/formats/dot/internal/lexer/lexer.go @@ -17,7 +17,7 @@ import ( "io/ioutil" "unicode/utf8" - // "github.com/gonum/graph/formats/dot/internal/util" + // "gonum.org/v1/gonum/graph/formats/dot/internal/util" "gonum.org/v1/gonum/graph/formats/dot/internal/token" ) diff --git a/lapack/internal/testdata/dlahr2test/main.go b/lapack/internal/testdata/dlahr2test/main.go index 2b146f83..d2c5b604 100644 --- a/lapack/internal/testdata/dlahr2test/main.go +++ b/lapack/internal/testdata/dlahr2test/main.go @@ -19,7 +19,7 @@ import ( "os" "path/filepath" - "github.com/gonum/lapack/internal/testdata/netlib" + "gonum.org/v1/gonum/lapack/internal/testdata/netlib" ) type Dlahr2Test struct { diff --git a/lapack/internal/testdata/dlaqr5test/main.go b/lapack/internal/testdata/dlaqr5test/main.go index 1ef02faf..b3980e93 100644 --- a/lapack/internal/testdata/dlaqr5test/main.go +++ b/lapack/internal/testdata/dlaqr5test/main.go @@ -19,7 +19,7 @@ import ( "os" "path/filepath" - "github.com/gonum/lapack/internal/testdata/netlib" + "gonum.org/v1/gonum/lapack/internal/testdata/netlib" ) type Dlaqr5Test struct {