Structure Usage

What @mcabbott said is right. The way this is often worked around is to use list comprehensions:

M = MULTIBODYSTRUCTURE(
    collect(deepcopy(bd) for i in 1:MAXBD)
)
1 Like