Skip to content

Conflicts of global variables #5

@davidtrestini

Description

@davidtrestini

In the context of an existing code, the following code (proposed in https://bhptoolkit.org/WaSABI/ as an example)

r0 = inspiral["Trajectory"]["r0"]; \[Phi] = inspiral["Trajectory"]["\[Phi]"]; ParametricPlot[{r0[t] Cos[\[Phi][t]], r0[t] Sin[\[Phi][t]]}, {t, 0, tmax}]

raises a "KeyExistsQ" error when running it twice. This seems to be due to conflicting global variables. The notebook with the error has been provided to @honetloic .

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions