Skip to content

Commit f13f998

Browse files
sshin23claude
andcommitted
Fix remaining bare _jac_structure! references in KA extension
Three calls in the KAExtension constructor at lines 61/64/65 still used unqualified _jac_structure!, _obj_hess_structure!, _con_hess_structure! instead of ExaModels._ prefixed versions. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent dca97ac commit f13f998

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

ext/ExaModelsKernelAbstractions.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,11 +58,11 @@ function ExaModels.build_extension(
5858
jacsparsityi = similar(c.x0, Tuple{Tuple{Int,Int},Int}, c.nnzj)
5959
hesssparsityi = similar(c.x0, Tuple{Tuple{Int,Int},Int}, c.nnzh)
6060

61-
_jac_structure!(T, c.backend, c.cons, jacsparsityi, nothing)
61+
ExaModels._jac_structure!(T, c.backend, c.cons, jacsparsityi, nothing)
6262

6363
jacsparsityj = copy(jacsparsityi)
64-
_obj_hess_structure!(T, c.backend, c.obj, hesssparsityi, nothing)
65-
_con_hess_structure!(T, c.backend, c.cons, hesssparsityi, nothing)
64+
ExaModels._obj_hess_structure!(T, c.backend, c.obj, hesssparsityi, nothing)
65+
ExaModels._con_hess_structure!(T, c.backend, c.cons, hesssparsityi, nothing)
6666
hesssparsityj = copy(hesssparsityi)
6767

6868
if !isempty(jacsparsityi)

0 commit comments

Comments
 (0)