Error type mismatch

type
module
#1

Hello, I have an issue with a project in which two different modules (‘MultiPro’ and ‘ProfileMod’) call the same module ‘VortexElement’. However, since ‘MultiPro’ calls the ‘ProfileMod’ module, Julia does not understand that the ‘VortexElement.LinearPanel’ type is the same in both cases…

It throws the following error:

Blockquote

ERROR: LoadError: MethodError: no method matching Main.MultiPro.VortexElement.LinearPanel(::Main.MultiPro.ProfileMod.VortexElement.LinearPanel)
Closest candidates are:
Main.MultiPro.VortexElement.LinearPanel(::Any, !Matched::Any, !Matched::Any, !Matched::Any, !Matched::Any, !Matched::Any, !Matched::Any, !Matched::Any)

Blockquote

0 Likes

#2

Please

  1. make an MWE and quote your code,

  2. do not post the same question multiple times.

0 Likes