Skip to content

Commit

Permalink
Update common block specification to work with new function resolving
Browse files Browse the repository at this point in the history
  • Loading branch information
Nathaniel Cunningham authored and Nathaniel Cunningham committed Jan 19, 2018
1 parent b051fea commit 3f4477e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions IDL/bdtri.pro
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@

function incbi, x
compile_opt idl2, hidden
common incbi_parms
common incbi_parms, a, b, p

return, ibeta(b-a, a+1, x) - p
end
Expand Down Expand Up @@ -95,7 +95,7 @@ function bdtri, k, n, y
message, 'bdtri domain error: y must be in the interval [0,1]'
endif

common incbi_parms, a, b, p
common incbi_parms
a = k
b = n
p = y
Expand Down
4 changes: 2 additions & 2 deletions IDL/pdtri.pro
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@

function igami, x
compile_opt idl2, hidden
common igami_parms
common igami_parms, a, p

return, 1 - igamma(a+1, x, /double) - p
end
Expand All @@ -88,7 +88,7 @@ function pdtri, k, y
message, 'pdtri domain error: y must be in the interval [0, 1)'
endif

common igami_parms, a, p
common igami_parms
a = k
p = y

Expand Down

0 comments on commit 3f4477e

Please sign in to comment.