Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion dockerfiles/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ LABEL description="PFLARE"
ENV CHECKOUT_BRANCH=$BRANCH
ENV PETSC_ARCH=$ARCH
# -on_error_abort ensures any test failures are caught and the build fails
ENV PETSC_OPTIONS="-on_error_abort"
# fp trap turns on floating point exception trapping in petsc
ENV PETSC_OPTIONS="-on_error_abort -fp_trap on"

WORKDIR /build

Expand Down
2 changes: 1 addition & 1 deletion src/Gmres_Poly.F90
Original file line number Diff line number Diff line change
Expand Up @@ -1225,7 +1225,7 @@ subroutine mat_mult_powers_share_sparsity_cpu(matrix, poly_order, poly_sparsity_
! ~~~~~~~~~~~
if (ncols /= 0 .AND. coefficients(term) /= 0d0) then
call MatSetValues(cmat, one, [global_row_start + i_loc-1], ncols, cols, &
coefficients(term) * vals_power_temp, ADD_VALUES, ierr)
coefficients(term) * vals_power_temp(1:ncols), ADD_VALUES, ierr)
end if

! This should now have the value of A^(term-1) in it
Expand Down
Loading