Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
H
handyG
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
McMule
handyG
Commits
a360ebc8
Commit
a360ebc8
authored
Jul 16, 2019
by
ulrich_y
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug fix re
9174f364
(GPL_zero_zi had the wrong branch-cut for neg. arguments)
parent
0672aaaa
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
src/gpl_module.f90
src/gpl_module.f90
+2
-1
No files found.
src/gpl_module.f90
View file @
a360ebc8
...
...
@@ -18,11 +18,12 @@ CONTAINS
integer
::
l
type
(
inum
)
::
y
complex
(
kind
=
prec
)
::
GPL_zero_zi
!TODO
if
(
abs
(
aimag
(
y
))
.lt.
zero
)
then
if
(
real
(
y
)
.gt.
0
)
then
GPL_zero_zi
=
1.0_prec
/
factorial
(
l
)
*
log
(
real
(
y
))
**
l
else
GPL_zero_zi
=
1.0_prec
/
factorial
(
l
)
*
(
log
(
-
real
(
y
))
-
cmplx
(
0
,
y
%
i0
*
pi
))
**
l
GPL_zero_zi
=
1.0_prec
/
factorial
(
l
)
*
(
log
(
-
real
(
y
))
+
cmplx
(
0
,
y
%
i0
*
pi
))
**
l
endif
else
GPL_zero_zi
=
1.0_prec
/
factorial
(
l
)
*
log
(
y
%
c
)
**
l
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment