whizard is hosted by Hepforge, IPPP Durham

Opened 11 years ago

Closed 11 years ago

#600 closed defect (fixed)

cmd_plot does not know about local options

Reported by: Juergen Reuter Owned by: kilian
Priority: P0 Milestone: v2.2.0
Component: core Version: 2.1.1
Severity: normal Keywords:
Cc:

Description

In the Z-lineshape example, there is a command

plot lineshape_born { x_min = 88 GeV  x_max = 95 GeV }

The plot range is not set. If the variables are defined globally, it works. Can be a just-in-time compilation problem, or a missing linking of local to global veriables.

Change History (5)

comment:1 Changed 11 years ago by Juergen Reuter

Summary: cmd_plot does not about local optionscmd_plot does not know about local options

comment:2 Changed 11 years ago by Juergen Reuter

  1. insight gained: it's not cmd_plot_t%local%var_list, this contains neither in 2.1 nor in 2.2 the local variables.

comment:3 Changed 11 years ago by Juergen Reuter

Oh no, it actually is the var_list, its in the 2.1 but not the 2.2 var_list.

comment:4 Changed 11 years ago by Juergen Reuter

Priority: P3P0

For WK, should be a quickie ...

comment:5 Changed 11 years ago by kilian

Resolution: fixed
Status: newclosed

Yes, it was a quickie. intent(out) instead of intent(inout).

Looking at the code, there might be some other parts missing; see comment for #468.

Note: See TracTickets for help on using tickets.