Skip to content

Commit

Permalink
Refactor LAPACK module to use lapack64 module
Browse files Browse the repository at this point in the history
  • Loading branch information
ulises-jeremias committed Apr 28, 2024
1 parent ab34e62 commit 14d3f67
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion lapack/lapack64/dgesv.v
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module lapack
module lapack64

import math
import vsl.blas
Expand Down
2 changes: 1 addition & 1 deletion lapack/lapack64/dgetrf.v
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module lapack
module lapack64

import math
import vsl.blas
Expand Down
2 changes: 1 addition & 1 deletion lapack/lapack64/dgetrs.v
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module lapack
module lapack64

import math
import vsl.blas
Expand Down
2 changes: 1 addition & 1 deletion lapack/lapack64/errors.v
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module lapack
module lapack64

// This list is duplicated in netlib/lapack/netlib. Keep in sync.

Expand Down
6 changes: 3 additions & 3 deletions lapack/lapack64/ilaenv.v
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ fn ilaenv(ispec int, name string, opts string, n1 int, n2 int, n3 int, n4 int) i
}
'OR', 'UN' {
match c3[0] {
'G', 'M' {
`G`, `M` {
match c3[1..] {
'QR', 'RQ', 'LQ', 'QL', 'HR', 'TR', 'BR' {
return 32
Expand Down Expand Up @@ -167,7 +167,7 @@ fn ilaenv(ispec int, name string, opts string, n1 int, n2 int, n3 int, n4 int) i
panic(bad_name)
}
match c3[0] {
'G', 'M' {
`G`, `M` {
match c4 {
'QR', 'RQ', 'LQ', 'QL', 'HR', 'TR', 'BR' {
return 2
Expand Down Expand Up @@ -210,7 +210,7 @@ fn ilaenv(ispec int, name string, opts string, n1 int, n2 int, n3 int, n4 int) i
}
'OR', 'UN' {
match c3[0] {
'G' {
`G` {
match c4 {
'QR', 'RQ', 'LQ', 'QL', 'HR', 'TR', 'BR' {
return 128
Expand Down

0 comments on commit 14d3f67

Please sign in to comment.