Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

global temporaries produce warnings in (debug) interactive console #120

Closed
gdementen opened this issue Feb 26, 2014 · 1 comment
Closed
Assignees
Labels
Milestone

Comments

@gdementen
Copy link
Member

entities: 
    person: 
        processes: 
            globaltemp: 0
            bp: breakpoint()

simulation:
    processes:    
        - person: [globaltemp, bp]

    input:
        file: simple2001.h5
    output:
        file: simulation.h5

    start_period: 2002
    periods: 1

results in:

...
- 2/2 bp ... done (0 ms elapsed).
current entity set to person
current period set to 2002
>>> a
Warning: name collision for: globaltemp (<class 'expr.VariableMethodHybrid'> vs globaltemp)
name 'a' is not defined
@gdementen gdementen added this to the 0.8.1 milestone Feb 26, 2014
@gdementen gdementen self-assigned this Feb 26, 2014
@gdementen gdementen added the bug label Feb 26, 2014
@gdementen
Copy link
Member Author

fixed in 9cd22bb

@gdementen gdementen modified the milestone: 0.8.1 Mar 18, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant