Skip to content

Commit

Permalink
Remove diagonal dispatch on FT from relations.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
dennisYatunin committed Feb 14, 2024
1 parent b67e7f7 commit 534e505
Show file tree
Hide file tree
Showing 3 changed files with 318 additions and 421 deletions.
2 changes: 1 addition & 1 deletion src/Thermodynamics.jl
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ const APS = TP.ThermodynamicsParameters
# Allow users to skip printing warnings on non-convergence
@inline print_warning() = true

@inline q_pt_0(::Type{FT}) where {FT} = PhasePartition(FT(0), FT(0), FT(0))
@inline q_pt_0(::APS{FT}) where {FT} = PhasePartition(FT(0), FT(0), FT(0))

@inline solution_type() = RS.CompactSolution()
include("DataCollection.jl")
Expand Down
Loading

0 comments on commit 534e505

Please sign in to comment.