-
Notifications
You must be signed in to change notification settings - Fork 532
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
blas/gonum: move panic strings into separate file
- Loading branch information
1 parent
609b9d6
commit 400065b
Showing
2 changed files
with
30 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
// Copyright ©2015 The Gonum Authors. All rights reserved. | ||
// Use of this source code is governed by a BSD-style | ||
// license that can be found in the LICENSE file. | ||
|
||
package gonum | ||
|
||
// Panic strings used during parameter checks. | ||
// This list is duplicated in netlib/blas/netlib. Keep in sync. | ||
const ( | ||
zeroIncX = "blas: zero x index increment" | ||
zeroIncY = "blas: zero y index increment" | ||
|
||
mLT0 = "blas: m < 0" | ||
nLT0 = "blas: n < 0" | ||
kLT0 = "blas: k < 0" | ||
kLLT0 = "blas: kL < 0" | ||
kULT0 = "blas: kU < 0" | ||
|
||
badUplo = "blas: illegal triangle" | ||
badTranspose = "blas: illegal transpose" | ||
badDiag = "blas: illegal diagonal" | ||
badSide = "blas: illegal side" | ||
|
||
badLdA = "blas: bad leading dimension of A" | ||
badLdB = "blas: bad leading dimension of B" | ||
badLdC = "blas: bad leading dimension of C" | ||
|
||
badX = "blas: bad length of x" | ||
badY = "blas: bad length of y" | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters