Skip to content

Commit 1ce08d0

Browse files
committed
loose the threshold and modify the comments
1 parent aca89f4 commit 1ce08d0

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

source/module_base/math_sphbes.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@ class Sphbes
1818
* @brief spherical bessel
1919
*
2020
* @param msh [in] number of grid points
21-
* @param r [in] radial grid (1:msh)
21+
* @param r [in] radial grid
2222
* @param q [in] k_radial
2323
* @param l [in] angular momentum
24-
* @param jl [out] jl(1:msh) spherical bessel function
24+
* @param jl [out] jl spherical bessel function
2525
*/
2626
static void Spherical_Bessel
2727
(
@@ -36,10 +36,10 @@ class Sphbes
3636
* @brief spherical bessel
3737
*
3838
* @param msh [in] number of grid points
39-
* @param r [in] radial grid (1:msh)
39+
* @param r [in] radial grid
4040
* @param q [in] k_radial
4141
* @param l [in] angular momentum
42-
* @param jl [out] jl(1:msh) spherical bessel function
42+
* @param jl [out] jl spherical bessel function
4343
* @param sjp [out] sjp[i] is assigned to be 1.0. i < msh.
4444
*/
4545
static void Spherical_Bessel

source/module_base/test/math_sphbes_test.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
#include"gtest/gtest.h"
99

10-
#define doublethreshold 1e-12
10+
#define doublethreshold 1e-7
1111

1212

1313
/************************************************

0 commit comments

Comments
 (0)