Skip to content

Commit

Permalink
Have to be more careful with the contiguous keyword given the coeffs …
Browse files Browse the repository at this point in the history
…are now pointers
  • Loading branch information
stevendargaville committed Nov 8, 2024
1 parent 736c999 commit 15c04c8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Approx_Inverse_Setup.F90
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ subroutine finish_approximate_inverse(matrix, inverse_type, &
integer, intent(in) :: inverse_type, poly_order
integer, intent(in) :: inverse_sparsity_order
type(tsqr_buffers), intent(inout) :: buffers
real, dimension(:, :), pointer, intent(inout) :: coefficients
real, dimension(:, :), pointer, contiguous, intent(inout) :: coefficients
logical, intent(in) :: matrix_free
type(tMat), intent(inout) :: reuse_mat, inv_matrix

Expand Down
2 changes: 1 addition & 1 deletion src/Gmres_Poly_Data_Type.F90
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ module gmres_poly_data_type
! Coefficients for the gmres polynomial
! If using the newton basis this has two columns with the real
! and imaginary roots
real, pointer, dimension(:, :) :: coefficients => null()
real, pointer, dimension(:, :), contiguous :: coefficients => null()

! Asynchronous buffers for the TSQR
type(tsqr_buffers) :: buffers
Expand Down

0 comments on commit 15c04c8

Please sign in to comment.