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 = {
+ [
# ----- Fortran Types
('real\(kind=c_double\)', 'complex\(kind=c_double_complex\)' ),
('real\(kind=c_float\)', 'real\(kind=c_float_complex\)' ),
(r'real\(kind=c_double\)', r'complex\(kind=c_double_complex\)' ),
(r'real\(kind=c_float\)', r'real\(kind=c_float_complex\)' ),
# ----- Data types
('double', 'double2' ),
......@@ -159,8 +159,8 @@ _subs = {
#('plasma_s', 'plasma_c' ),
# ----- Fortran examples
('real\(', 'complex\(', ),
('\(transpose\(', 'conjg\(transpose\(' ),
(r'real\(', r'complex\(', ),
(r'\(transpose\(', r'conjg\(transpose\(' ),
], # end mixed
# ------------------------------------------------------------
......@@ -178,7 +178,7 @@ _subs = {
('Symmetric', 'Symmetric', 'Symmetric', 'Hermitian', 'Hermitian' ),
('SYMMETRIC', 'SYMMETRIC', 'SYMMETRIC', 'HERMITIAN', 'HERMITIAN' ),
('orthogonal', 'orthogonal', 'orthogonal', 'unitary', 'unitary' ),
('\^T', '\^T', '\^T', '\^H', '\^H' ),
(r'\^T', r'\^T', r'\^T', r'\^H', r'\^H' ),
# ----- CBLAS
('', '', '', 'CBLAS_SADDR', 'CBLAS_SADDR' ),
......@@ -209,7 +209,7 @@ _subs = {
+ _upper( lapack ) # e.g., DGETRF
+ [
# ----- 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', '_float', '_double', '_complex', '_double_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.
Please register or to comment