Skip to content

Commit

Permalink
Typo
Browse files Browse the repository at this point in the history
  • Loading branch information
gdalle committed Aug 8, 2024
1 parent a67d2ad commit 1c68a80
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions DifferentiationInterface/src/sparse/jacobian.jl
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ function sparse_jacobian_aux(
) where {FY,B}
@compat (; coloring_result, batched_seeds, pushforward_batched_extras) = extras
dense_backend = dense_ad(backend)
Ng = length(column_groups(coloring_results))
Ng = length(column_groups(coloring_result))

pushforward_batched_extras_same = prepare_pushforward_batched_same_point(
f_or_f!y..., dense_backend, x, batched_seeds[1], pushforward_batched_extras
Expand Down Expand Up @@ -218,7 +218,7 @@ function sparse_jacobian_aux(
) where {FY,B}
@compat (; coloring_result, batched_seeds, pullback_batched_extras) = extras
dense_backend = dense_ad(backend)
Ng = length(row_groups(coloring_results))
Ng = length(row_groups(coloring_result))

pullback_batched_extras_same = prepare_pullback_batched_same_point(
f_or_f!y..., dense_backend, x, batched_seeds[1], pullback_batched_extras
Expand Down Expand Up @@ -253,7 +253,7 @@ function sparse_jacobian_aux!(
pushforward_batched_extras,
) = extras
dense_backend = dense_ad(backend)
Ng = length(column_groups(coloring_results))
Ng = length(column_groups(coloring_result))

pushforward_batched_extras_same = prepare_pushforward_batched_same_point(
f_or_f!y..., dense_backend, x, batched_seeds[1], pushforward_batched_extras
Expand Down Expand Up @@ -292,7 +292,7 @@ function sparse_jacobian_aux!(
pullback_batched_extras,
) = extras
dense_backend = dense_ad(backend)
Ng = length(row_groups(coloring_results))
Ng = length(row_groups(coloring_result))

pullback_batched_extras_same = prepare_pullback_batched_same_point(
f_or_f!y..., dense_backend, x, batched_seeds[1], pullback_batched_extras
Expand Down

0 comments on commit 1c68a80

Please sign in to comment.