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

Inconsistency with process' names #163

Closed
Enchufa2 opened this issue Aug 16, 2018 · 0 comments
Closed

Inconsistency with process' names #163

Enchufa2 opened this issue Aug 16, 2018 · 0 comments
Labels
Milestone

Comments

@Enchufa2
Copy link
Member

We have:

library(simmer)

simmer() %>%
  add_generator("dummy", trajectory(), at(0)) %>%
  add_resource("dummy", schedule(c(8, 16, 24), c(3, 2, 1), period=24))
# Error: process 'dummy' already defined 

but

simmer() %>%
  add_resource("dummy", schedule(c(8, 16, 24), c(3, 2, 1), period=24)) %>%
  add_generator("dummy", trajectory(), at(0))
# silent
@Enchufa2 Enchufa2 added the bug label Aug 16, 2018
@Enchufa2 Enchufa2 added this to the v4.0.1 milestone Aug 18, 2018
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