Closed nmoran closed 3 years ago
Thanks for finding this bug. However, since the vocab
is treated as a Vocabulary
type in the rest of code, using Ref
will introduce other problems. I think a quick fix for this PR would be simply remove the const
keyword.
Thanks for pointing that out. Have just updated to simply remove the const. This was the first version I tried before looking into using a Ref. Thought I had reverted to the original before committing but looks like I hadn't.
When const is there. the following error results when trying to run the example with tasks other than the task example. Removing the const allows the example to run.