Skip to content

Commit

Permalink
Revert "fix: fix numerical solve with zero units starting guess regre…
Browse files Browse the repository at this point in the history
…ssion"

This reverts commit 2bd9f13.
  • Loading branch information
mgreminger committed Jan 10, 2025
1 parent d060821 commit 1be9d28
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/parser/LatexToSympy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -385,9 +385,6 @@ export class LatexToSympy extends LatexParserVisitor<string | Statement | UnitBl
} else {
sympyExpression = this.visitNumber_with_units(ctx.number_with_units());
guess = this.implicitParams.slice(-1)[0].si_value;
if (guess === "_zero_delayed_substitution") {
guess = "0";
}
}

const guessStatement: GuessAssignmentStatement = {
Expand Down

0 comments on commit 1be9d28

Please sign in to comment.