Mentions légales du service

Skip to content
Snippets Groups Projects
Commit a82517d1 authored by Mathieu Faverge's avatar Mathieu Faverge
Browse files

subs: fix python warning issues wth literal strings

parent 0aef36be
No related branches found
No related tags found
No related merge requests found
...@@ -124,8 +124,8 @@ _subs = { ...@@ -124,8 +124,8 @@ _subs = {
+ [ + [
# ----- Fortran Types # ----- Fortran Types
('real\(kind=c_double\)', 'complex\(kind=c_double_complex\)' ), (r'real\(kind=c_double\)', r'complex\(kind=c_double_complex\)' ),
('real\(kind=c_float\)', 'real\(kind=c_float_complex\)' ), (r'real\(kind=c_float\)', r'real\(kind=c_float_complex\)' ),
# ----- Data types # ----- Data types
('double', 'double2' ), ('double', 'double2' ),
...@@ -159,8 +159,8 @@ _subs = { ...@@ -159,8 +159,8 @@ _subs = {
#('plasma_s', 'plasma_c' ), #('plasma_s', 'plasma_c' ),
# ----- Fortran examples # ----- Fortran examples
('real\(', 'complex\(', ), (r'real\(', r'complex\(', ),
('\(transpose\(', 'conjg\(transpose\(' ), (r'\(transpose\(', r'conjg\(transpose\(' ),
], # end mixed ], # end mixed
# ------------------------------------------------------------ # ------------------------------------------------------------
...@@ -178,7 +178,7 @@ _subs = { ...@@ -178,7 +178,7 @@ _subs = {
('Symmetric', 'Symmetric', 'Symmetric', 'Hermitian', 'Hermitian' ), ('Symmetric', 'Symmetric', 'Symmetric', 'Hermitian', 'Hermitian' ),
('SYMMETRIC', 'SYMMETRIC', 'SYMMETRIC', 'HERMITIAN', 'HERMITIAN' ), ('SYMMETRIC', 'SYMMETRIC', 'SYMMETRIC', 'HERMITIAN', 'HERMITIAN' ),
('orthogonal', 'orthogonal', 'orthogonal', 'unitary', 'unitary' ), ('orthogonal', 'orthogonal', 'orthogonal', 'unitary', 'unitary' ),
('\^T', '\^T', '\^T', '\^H', '\^H' ), (r'\^T', r'\^T', r'\^T', r'\^H', r'\^H' ),
# ----- CBLAS # ----- CBLAS
('', '', '', 'CBLAS_SADDR', 'CBLAS_SADDR' ), ('', '', '', 'CBLAS_SADDR', 'CBLAS_SADDR' ),
...@@ -209,7 +209,7 @@ _subs = { ...@@ -209,7 +209,7 @@ _subs = {
+ _upper( lapack ) # e.g., DGETRF + _upper( lapack ) # e.g., DGETRF
+ [ + [
# ----- Fortran Types # ----- Fortran Types
('int\(', 'real\(', 'real\(', 'complex\(', 'complex\(' ), (r'int\(', r'real\(', r'real\(', r'complex\(', r'complex\(' ),
('int', 'real', 'double precision', 'real', r'\bdouble precision\b'), # before double ('int', 'real', 'double precision', 'real', r'\bdouble precision\b'), # before double
('_int', '_float', '_double', '_complex', '_double_complex' ), ('_int', '_float', '_double', '_complex', '_double_complex' ),
(r'\bint', r'\bfloat', r'\bdouble', r'\bcomplex', r'\bdouble_complex' ), (r'\bint', r'\bfloat', r'\bdouble', r'\bcomplex', r'\bdouble_complex' ),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment