Skip to content

Conversation

@ctessum
Copy link
Member

@ctessum ctessum commented Aug 18, 2025

No description provided.

@ctessum ctessum added the format-suggest Ask formatting action to make suggestions label Aug 18, 2025
@codecov
Copy link

codecov bot commented Sep 6, 2025

Codecov Report

❌ Patch coverage is 82.19585% with 60 lines in your changes missing coverage. Please review.
⚠️ Please upload report for BASE (main@03544b7). Learn more about missing BASE report.
⚠️ Report is 4 commits behind head on main.

Files with missing lines Patch % Lines
src/jacobian.jl 42.55% 27 Missing ⚠️
src/map_algorithm.jl 61.76% 13 Missing ⚠️
src/blockdiagonal.jl 92.56% 9 Missing ⚠️
src/mtk_grid_func.jl 87.32% 9 Missing ⚠️
src/domaininfo.jl 94.73% 2 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##             main     #113   +/-   ##
=======================================
  Coverage        ?   79.58%           
=======================================
  Files           ?       17           
  Lines           ?     1347           
  Branches        ?        0           
=======================================
  Hits            ?     1072           
  Misses          ?      275           
  Partials        ?        0           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

end
elseif @capture(x, (f_)(args__)) # Function call
return :($f.($(args...)))
elseif @capture(x, if a_ b_ else c_ end) # if expression
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[JuliaFormatter] reported by reviewdog 🐶

Suggested change
elseif @capture(x, if a_ b_ else c_ end) # if expression
elseif @capture(x, if a_
b_
else
c_
end) # if expression


f1, sys_mtk,
coord_args = mtk_grid_func(sys_mtk, dom, u0,
f1, sys_mtk, coord_args = mtk_grid_func(sys_mtk, dom, u0,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[JuliaFormatter] reported by reviewdog 🐶

Suggested change
f1, sys_mtk, coord_args = mtk_grid_func(sys_mtk, dom, u0,
f1, sys_mtk,
coord_args = mtk_grid_func(sys_mtk, dom, u0,

u = reshape(u, nvar, :)
calcJ(r, u, p, t, c1, c2, c3) = jacf(view(u, :, r), p, t, c1[r], c2[r], c3[r])
blocks = map_closure_to_range(calcJ, 1:size(u, 2), alg, u, p, t, c1, c2, c3)
blocks3d = reduce((x,y) -> cat(x,y; dims=3), blocks)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[JuliaFormatter] reported by reviewdog 🐶

Suggested change
blocks3d = reduce((x,y) -> cat(x,y; dims=3), blocks)
blocks3d = reduce((x, y) -> cat(x, y; dims = 3), blocks)

Comment on lines +44 to +45

function gen_coord_func(sys, expr, coord_args, alg::MapAlgorithm=MapBroadcast();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[JuliaFormatter] reported by reviewdog 🐶

Suggested change
function gen_coord_func(sys, expr, coord_args, alg::MapAlgorithm=MapBroadcast();
function gen_coord_func(sys, expr, coord_args, alg::MapAlgorithm = MapBroadcast();

RuntimeGeneratedFunctions.init(@__MODULE__)

function build_coord_ode_function(sys_coord, coord_args; kwargs...)
function build_coord_ode_function(sys_coord, coord_args, MA::MapAlgorithm=MapBroadcast();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[JuliaFormatter] reported by reviewdog 🐶

Suggested change
function build_coord_ode_function(sys_coord, coord_args, MA::MapAlgorithm=MapBroadcast();
function build_coord_ode_function(sys_coord, coord_args, MA::MapAlgorithm = MapBroadcast();

end

function build_coord_jac_function(sys_coord, coord_args; sparse = false, kwargs...)
function build_coord_jac_function(sys_coord, coord_args, MA::MapAlgorithm=MapBroadcast();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[JuliaFormatter] reported by reviewdog 🐶

Suggested change
function build_coord_jac_function(sys_coord, coord_args, MA::MapAlgorithm=MapBroadcast();
function build_coord_jac_function(sys_coord, coord_args, MA::MapAlgorithm = MapBroadcast();

end

function build_coord_tgrad_function(sys_coord, coord_args; kwargs...)
function build_coord_tgrad_function(sys_coord, coord_args, MA::MapAlgorithm=MapBroadcast();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[JuliaFormatter] reported by reviewdog 🐶

Suggested change
function build_coord_tgrad_function(sys_coord, coord_args, MA::MapAlgorithm=MapBroadcast();
function build_coord_tgrad_function(
sys_coord, coord_args, MA::MapAlgorithm = MapBroadcast();

u = reshape(u, nrows, :)
@info u, p, t, c1, c2, c3
@info mtkf
du = mtkf(u, p, t, c1, c2, c3)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[JuliaFormatter] reported by reviewdog 🐶

Suggested change
du = mtkf(u, p, t, c1, c2, c3)
du = mtkf(u, p, t, c1, c2, c3)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

format-suggest Ask formatting action to make suggestions

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants