Skip to content

Commit

Permalink
Minor changes to cb
Browse files Browse the repository at this point in the history
  • Loading branch information
mfpaulos committed Dec 30, 2016
1 parent 2b0393b commit 08138e0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions CBlock/cb.jl
Original file line number Diff line number Diff line change
Expand Up @@ -365,8 +365,8 @@ function v_convCoeffs_ds(sigma::Real,tup::(Int64,Int64)) #gives a dictionary wit
# derivative (m,n) of \partial_sigma u^sigma G
m=tup[1] #a derivatives
n=tup[2] #b derivatives
m=convert(Int128,m)
n=convert(Int128,n)
m=convert(BigInt,m)
n=convert(BigInt,n)
d=sigma

#comment: extra powers of 2 relative to my Mathematica code is due to the way the derivatives are defined by the Pythonists
Expand All @@ -383,8 +383,8 @@ function u_convCoeffs_ds(sigma::Real,tup::(Int64,Int64)) #gives a dictionary wit
# derivative (m,n) (in the tuple) of \partial_sigma u^sigma G
m=tup[1] #a derivatives
n=tup[2] #b derivatives
m=convert(Int128,m)
n=convert(Int128,n)
m=convert(BigInt,m)
n=convert(BigInt,n)
d=sigma

#return [ (k,l)=> 1/(2^(k+2*l))*(-1)^(m-k)*binomial(n,n-l)*binomial(m,m-k)*(4)^(-d)*pochhammer(-2d+2*(n-l),m-k)*pochhammer(-d, n-l) for k=0:m, l=0:n]
Expand Down
2 changes: 1 addition & 1 deletion various.jl
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ push!(LOAD_PATH,"$(pwd())/Bootstrap")

import consts
import Base: deepcopy,dot
export derivative, pochhammer, padL, padR, value, tofloat,msum,mplus,msub,mdiv,mpow,mmult,MPFR_clear, mcopy, onebf,zerobf
export derivative, pochhammer, padL, padR, value, tofloat,msum,mplus,msub,mdiv,mpow,mmult,MPFR_clear, mcopy, onebf,zerobf,tofloat



Expand Down

0 comments on commit 08138e0

Please sign in to comment.