Skip to content

Commit 2f29d8e

Browse files
Fix LHLCache constructor type parameters
Co-Authored-By: Chris Rackauckas <accounts@chrisrackauckas.com> Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://chatgpt.com/codex/tasks/01a03a17-ad6f-7131-82fc-d0fd57ea6512
1 parent 5dcf04d commit 2f29d8e

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/lhl.jl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,8 +104,10 @@ not-yet-reduced state widens it.
104104
mutable struct LHLCache{WS, JT}
105105
ws::WS
106106
jac::Union{Nothing, JT}
107+
LHLCache{WS, JT}(ws, jac) where {WS, JT} = new{WS, JT}(ws, jac)
107108
end
108109

110+
LHLCache(ws::WS, jac::JT) where {WS, JT} = LHLCache{WS, JT}(ws, jac)
109111
LHLCache(ws, ::Type{JT}) where {JT} = LHLCache{typeof(ws), JT}(ws, nothing)
110112

111113
function init_cacheval(

0 commit comments

Comments
 (0)