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

Incorrect branch backwards linking and count #56

Closed
Enchufa2 opened this Issue Jun 4, 2016 · 0 comments

Comments

Projects
None yet
1 participant
@Enchufa2
Member

Enchufa2 commented Jun 4, 2016

The following rollback

t <- create_trajectory() %>%
  timeout(1) %>% 
  branch(function() 1, T, 
         create_trajectory() %>%
           rollback(1))
t
#> simmer trajectory: anonymous, 2 activities
#> { Activity: Timeout(-) | delay: 1 }
#> { Activity: Branch(-) | merge: 1 }
#>   simmer trajectory: anonymous, 1 activities
#>   { Activity: Rollback(-) | amount: 1 (Timeout), times: 1 }

should point to branch, not to timeout. And there are 3 activities, not 2.

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