File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
opm/simulators/linalg/mixed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -203,7 +203,7 @@ void mat3_inv(double *invA, const double *A)
203203 * @param y Pointer to output vector.
204204 * @param x Pointer to input vector.
205205 */
206- inline void vec_copy9 (double * y , double const * x )
206+ static inline void vec_copy9 (double * y , double const * x )
207207{
208208 for (int i = 0 ;i < 9 ;i ++ ) y [i ]= x [i ];
209209}
@@ -468,7 +468,7 @@ void prec_ilu0_factorize(prec_t *P, bsr_matrix *A)
468468}
469469
470470
471- inline void mat3_vecmul (const double * A , double * x )
471+ static inline void mat3_vecmul (const double * A , double * x )
472472{
473473 const int b = 3 ;
474474 double z [3 ];
@@ -484,7 +484,7 @@ inline void mat3_vecmul(const double *A, double *x)
484484}
485485
486486
487- inline void mat3_vecfms (double * y , const double * A , const double * x )
487+ static inline void mat3_vecfms (double * y , const double * A , const double * x )
488488{
489489 const int b = 3 ;
490490 double z [3 ];
You can’t perform that action at this time.
0 commit comments