Skip to content

Commit f3b69e1

Browse files
committed
update tol
1 parent 6331ad4 commit f3b69e1

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

FORTRAN/pevsl_f90.c

+2-1
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,8 @@ void PEVSL_FORT(pevsl_lanbounds)(uintptr_t *pevslf90, int *mlan, int *nsteps, do
249249
pEVSL_ParvecCreate(N, n, nfirst, pevsl->comm, &vinit);
250250
pEVSL_ParvecRand(&vinit);
251251
/*------------------- Lanczos Bounds */
252-
pEVSL_LanTrbounds(pevsl, *mlan, *nsteps, 1e-8, &vinit, 1, lmin, lmax, NULL);
252+
//pEVSL_LanTrbounds(pevsl, *mlan, *nsteps, 1e-8, &vinit, 1, lmin, lmax, NULL);
253+
pEVSL_LanTrbounds(pevsl, *mlan, *nsteps, *tol, &vinit, 1, lmin, lmax, NULL);
253254
//pEVSL_LanTrbounds(pevsl, *mlan, *nsteps, 1e-8, &vinit, 1, lmin, lmax, stdout);
254255

255256
pEVSL_ParvecFree(&vinit);

INC/pevsl_def.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
#define PEVSL_MAX(a, b) ((a) > (b) ? (a) : (b))
1616
#define PEVSL_MIN(a, b) ((a) < (b) ? (a) : (b))
1717

18-
#define orthTol 1e-14
18+
#define orthTol 1e-18
1919

2020
#define PI M_PI
2121

0 commit comments

Comments
 (0)