diff options
author | Alberto Ruiz <aruiz@um.es> | 2015-08-11 11:22:30 +0200 |
---|---|---|
committer | Alberto Ruiz <aruiz@um.es> | 2015-08-11 11:22:30 +0200 |
commit | 39a6527597bcd50558953eb3fa2c56899b93297b (patch) | |
tree | 62d156864d43b7c43ab87b7780a728d23281349d /packages/base/src | |
parent | 773eeb0583dc49ab2d6725e4aae50e34e0672225 (diff) |
add static inline to avoid multiple definition error
Diffstat (limited to 'packages/base/src')
-rw-r--r-- | packages/base/src/Internal/C/lapack-aux.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/base/src/Internal/C/lapack-aux.h b/packages/base/src/Internal/C/lapack-aux.h index e0dd5f6..7a6fcbf 100644 --- a/packages/base/src/Internal/C/lapack-aux.h +++ b/packages/base/src/Internal/C/lapack-aux.h | |||
@@ -90,7 +90,7 @@ typedef short ftnlen; | |||
90 | 90 | ||
91 | /********************************************************/ | 91 | /********************************************************/ |
92 | 92 | ||
93 | inline | 93 | static inline |
94 | int mod (int a, int b) { | 94 | int mod (int a, int b) { |
95 | int m = a % b; | 95 | int m = a % b; |
96 | if (b>0) { | 96 | if (b>0) { |
@@ -100,7 +100,7 @@ int mod (int a, int b) { | |||
100 | } | 100 | } |
101 | } | 101 | } |
102 | 102 | ||
103 | inline | 103 | static inline |
104 | int64_t mod_l (int64_t a, int64_t b) { | 104 | int64_t mod_l (int64_t a, int64_t b) { |
105 | int64_t m = a % b; | 105 | int64_t m = a % b; |
106 | if (b>0) { | 106 | if (b>0) { |