Skip to content

Commit 45ec844

Browse files
adrhillclaude
andauthored
docs: fix incorrect API references in amortization section (#96)
The amortization section incorrectly linked to `jacobian` and `hessian` (one-call APIs that don't accept pre-computed colorings) instead of `jacobian_from_coloring` and `hessian_from_coloring`. Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 3467484 commit 45ec844

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/explanation/asd.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ across arbitrarily many evaluations at different inputs.
114114

115115
In a typical workflow,
116116
a user calls [`jacobian_coloring`](../reference/index.md#asdex.jacobian_coloring) (or [`hessian_coloring`](../reference/index.md#asdex.hessian_coloring)) once during setup
117-
and passes the result to [`jacobian`](../reference/index.md#asdex.jacobian) (or [`hessian`](../reference/index.md#asdex.hessian)) in a loop.
117+
and passes the result to [`jacobian_from_coloring`](../reference/index.md#asdex.jacobian_from_coloring) (or [`hessian_from_coloring`](../reference/index.md#asdex.hessian_from_coloring)) in a loop.
118118
The per-evaluation cost is then just the decompression step:
119119
\(c\) AD passes plus a cheap index lookup,
120120
where \(c\) is the number of colors.

0 commit comments

Comments
 (0)