diff --git a/src/numerical_differentiation_module.f90 b/src/numerical_differentiation_module.f90 index 3430148..528b9af 100644 --- a/src/numerical_differentiation_module.f90 +++ b/src/numerical_differentiation_module.f90 @@ -975,7 +975,7 @@ subroutine initialize_numdiff_for_diff(me,n,m,xlow,xhigh,& implicit none - class(numdiff_type),intent(out) :: me + class(numdiff_type),intent(inout):: me integer,intent(in) :: n !! number of `x` variables integer,intent(in) :: m !! number of `f` functions real(wp),dimension(n),intent(in) :: xlow !! lower bounds on `x` @@ -1274,7 +1274,7 @@ subroutine initialize_numdiff(me,n,m,xlow,xhigh,perturb_mode,dpert,& implicit none - class(numdiff_type),intent(out) :: me + class(numdiff_type),intent(inout) :: me integer,intent(in) :: n !! number of `x` variables integer,intent(in) :: m !! number of `f` functions real(wp),dimension(n),intent(in) :: xlow !! lower bounds on `x`