Skip to content

Commit 49264c5

Browse files
committed
fix a bug caused by intel compiler
1 parent 1c2a933 commit 49264c5

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

source/source_base/ylm.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -808,9 +808,9 @@ void Ylm::rl_sph_harm
808808
void Ylm::grad_rl_sph_harm
809809
(
810810
const int& Lmax, //max momentum of L
811-
const double& x,
812-
const double& y,
813-
const double& z,
811+
const double x,
812+
const double y,
813+
const double z,
814814
double* rly,
815815
double** grly
816816
)

source/source_base/ylm.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -124,9 +124,9 @@ class Ylm
124124
*/
125125
static void grad_rl_sph_harm(
126126
const int& Lmax,
127-
const double& x,
128-
const double& y,
129-
const double& z,
127+
const double x,
128+
const double y,
129+
const double z,
130130
double* rly,
131131
double** grly);
132132

0 commit comments

Comments
 (0)