Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinMikkelsen committed Dec 7, 2023
1 parent cc0cba3 commit 15803f7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Debye.jl
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
The Debye function(n,x) given by
```math
D_n(x) = \frac{n}{x^n} \int_0^x \frac{t^n}{e^{t}-1} dx
D_n(x) = \frac{n}{x^n} \int_0^x \frac{t^n}{e^{t}-1} dt
```
Returns the value ``D(n,x)``
Expand All @@ -13,4 +13,4 @@ function Debye_function(n,x,min_tol=1e-5)
D = n./(x.^n).*quadgk(t -> (t.^n)/(exp.(t)-1),min_tol,x)[1]
return D
end
export Debye_function
export Debye_function

0 comments on commit 15803f7

Please sign in to comment.