Skip to content

Commit

Permalink
Correct code example
Browse files Browse the repository at this point in the history
  • Loading branch information
aherbert committed Sep 7, 2023
1 parent 9e02432 commit 8ea48b3
Showing 1 changed file with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,16 +34,19 @@
* // The x value that caused the problem.
* private final SomeFieldType x;
*
* public LocalException(SomeFieldType x) {
* LocalException(SomeFieldType x) {
* this.x = x;
* }
*
* public double getX() {
* SomeFieldType getX() {
* return x;
* }
* }
*
* private static class MyFunction implements FieldUnivariateFunction<SomeFieldType> {
*
* // ... function set-up
*
* public SomeFieldType value(SomeFieldType x) {
* SomeFieldType y = hugeFormula(x);
* if (somethingBadHappens) {
Expand Down

0 comments on commit 8ea48b3

Please sign in to comment.