Skip to content

Minor issue/typo on page /chapter2/nonlinpoisson_code.html #294

@Cardonos

Description

@Cardonos

There is a typo in the code snippet where the solver is used, in the assertion check an f-string is used but the "f" is missing so the output is incorrect

currently:
assert converged > 0, "Solver did not converge, got {converged}."

fixed:
assert converged > 0, f"Solver did not converge, got {converged}."

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions