Closed pjuangph closed 3 years ago
Are you including Plot3D.jl
twice? Please include a full example and the error message in issues, I am having a hard time piecing this together from the link you posted.
Here you go. Simple example https://github.com/pjuangph/JuliaLearning
Yes, you are including DataTestTypes.jl
both in Connectivity.jl
and run_me.jl
, which creates separate modules with two different structs called Block
. This is the expected behavior for include
.
Where should remove it from? seems like it's needed everywhere.
I have 3 files and two of them are modules. Connectivity.jl reads from Plot3D.jl
https://discourse.julialang.org/t/methoderror-no-method-matching-and-no-hints-either/56772
If you define a struct in Plot3D.jl called Block where Block is
Then you write a function in Connectivity.jl that uses the struct Block
Calling find_matching_block(block1, block2). The expected behavior is you see testing printed out. What you get is actually an error without any helpful descriptions. Check the link.
What is the right way to do this and can somebody update the documentation?