Skip to content

Commit

Permalink
TestModel: fix type instability in φΩ(ξ, ::NonlocalXieModel1)
Browse files Browse the repository at this point in the history
  • Loading branch information
tkemmer committed Feb 25, 2025
1 parent 9b20cf0 commit 51c07ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/testmodel/xie/potentials.jl
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ function NESSie.φΩ(ξ::Vector{T}, model::NonlocalXieModel1{T}; tolerance::T =
φ += φj * q.val
end

+ φmol(ξ, model.charges; tolerance = tolerance) / 4π / εΩ) * T(ec/ε0)
+ φmol(ξ, model.charges; tolerance = tolerance) / T(4π) / εΩ) * T(ec/ε0)
end

@inline function NESSie.φΩ(
Expand Down

0 comments on commit 51c07ee

Please # to comment.