You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Of note is that both constructors have capacity as a default argument, not a keyword argument, so Resource(env, capacity = 100, level = 31) would actually raise an error.
Both of these need fixing, so I will leave this issue open:
better error message when Container is not given a type parameter (maybe simply a better constructor)
better constructor for when capacity is given as a keyword argument (maybe @kwdef too) for Resource and Container
Krastanov
changed the title
Unable to initialize the Container when using ConcurrentSim v1.4.1 and julia 1.10.5
Vague unscrutable error messages on construction of Container and ResourceSep 20, 2024
Describe the problem
using ConcurrentSim
env = Simulation()
Container(env, capacity = 100, level = 31)
Simply running this throws me an error :
UndefVarError:
N
not definedStacktrace:
[1] top-level scope
@ In[1]:4
It might be associated with the container parameter N. Please help me resolve this issue.
The text was updated successfully, but these errors were encountered: