Skip to content

Commit 699f169

Browse files
committed
Bug alpha bounds in Mcretrajec.c
Correct bug in definition of alpha bounds around zero. The previous definition was not allowing negative values of alpha.
1 parent 5c4e633 commit 699f169

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Mcretrajec.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ int main(int argc, char* argv[])
9595

9696
m = sf_floatalloc(nh);
9797

98-
if(alpha <= 0.001){
98+
if(alpha <= 0.001 && alpha >= -0.001){
9999
for(i=0;i<nh;i++){
100100
m[i] = m0;
101101
}

0 commit comments

Comments
 (0)