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

Generator functions are not reset #51

Closed
Enchufa2 opened this Issue May 20, 2016 · 0 comments

Comments

Projects
None yet
1 participant
@Enchufa2
Member

Enchufa2 commented May 20, 2016

So this code produces no output:

t <- create_trajectory() %>% timeout(1)

simmer() %>% 
  add_generator("dummy", t, at(0, 1, 2)) %>%
  run() %>%
  reset() %>%
  run() %>%
  get_mon_arrivals()

Instead, 3 arrivals would be expected.

@Enchufa2 Enchufa2 added the bug label May 20, 2016

@Enchufa2 Enchufa2 closed this in 43ec779 Jun 3, 2016

@Enchufa2 Enchufa2 added this to the v3.3.0 milestone Jun 4, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment