Skip to content

Commit

Permalink
Should fix (self-inflicted) brokeness on Julia 1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
jarvist committed Oct 10, 2018
1 parent 0460364 commit a143964
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 8 deletions.
2 changes: 1 addition & 1 deletion REQUIRE
@@ -1,4 +1,4 @@
julia 0.6
QuadGK
Optim 0.15-
Optim 0.15

16 changes: 9 additions & 7 deletions src/PolaronMobility.jl
Expand Up @@ -12,8 +12,10 @@ export ImX

##### load in library routines... #####
# stdlib
using LinearAlgebra
using Printf
if VERSION > v"0.7.0-DEV.2005"
using LinearAlgebra
using Printf
end
# one-dimensional numerical integration in Julia using adaptive Gauss-Kronrod quadrature
import QuadGK.quadgk

Expand All @@ -27,12 +29,12 @@ const me=MassElectron = 9.10938188e-31; # kg
const Boltzmann = const kB = 1.3806504e-23; # kg m2 / K s2
const ε_0 = 8.854E-12 #Units: C2N−1m−2, permittivity of free space

include("types.jl") # Polaron type
include("FeynmanTheory.jl") # Actions + variational functions
include("HellwarthTheory.jl") # multimode -> equivalent mode.
include("types.jl") # Polaron types
include("FeynmanTheory.jl") # Actions + variational functions
include("HellwarthTheory.jl") # multimode -> equivalent mode.
include("MobilityTheories.jl") # Main polaronmobility function
include("Susceptibility.jl") # ImX calculation
include("OedipusRex.jl") # Optical Absorption
include("Susceptibility.jl") # ImX calculation
include("OedipusRex.jl") # Optical Absorption

end # module

0 comments on commit a143964

Please sign in to comment.