Skip to content

Commit

Permalink
Update travis settings.
Browse files Browse the repository at this point in the history
  • Loading branch information
waltergu committed May 8, 2019
1 parent 378cbbf commit 988d2fc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ julia:

after_success:
- julia --inline=no -e 'using Pkg; Pkg.add("Coverage"); import QuantumLattices; joinpath(dirname(pathof(QuantumLattices))); using Coverage; Codecov.submit(Codecov.process_folder())'
- julia -e 'using Pkg; Pkg.add("DocumenterTools"); Pkg.add("Documenter"); ENV["DOCUMENTER_DEBUG"] = "true"; import QuantumLattices; joinpath(dirname(pathof(QuantumLattices))); include(joinpath("docs","make.jl"))'
- julia -e 'using Pkg; Pkg.add("DocumenterTools"); Pkg.add("Documenter"); Pkg.add("SymPy"); ENV["DOCUMENTER_DEBUG"] = "true"; import QuantumLattices; joinpath(dirname(pathof(QuantumLattices))); include(joinpath("docs","make.jl"))'
5 changes: 2 additions & 3 deletions docs/src/tutorials/UnitcellDescription.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,8 @@ lattice=Lattice("L2P",[Point(PID(1),(0.0,)),Point(PID(2),(1.0,))])
config=IDFConfig{Fock}(pid->Fock(norbital=1,nspin=2,nnambu=2),lattice.pids)
# define the terms
t,U=symbols("t,U",real=true)
t=Hopping{'F'}(:t,t,1)
U=Hubbard{'F'}(:U,U)
t=Hopping{'F'}(:t,symbols("t",real=true),1)
U=Hubbard{'F'}(:U,symbols("U",real=true))
# get the Hamiltonian
operators=expand(Generator((t,U),Bonds(lattice),config,nothing,false))
Expand Down

0 comments on commit 988d2fc

Please sign in to comment.