# Error with same type called from different modules

**URL:** <https://discourse.julialang.org/t/error-with-same-type-called-from-different-modules/22609>\
**Category:** New to Julia\
**Tags:** type\
**Created:** [April 1, 2019, 6:08pm UTC](https://discourse.julialang.org/t/error-with-same-type-called-from-different-modules/22609 "2019-04-01T18:08:22Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![rdeits](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/rdeits/32/286_2.png) [@rdeits](https://discourse.julialang.org/u/rdeits)\
**Post date:** [April 2, 2019, 12:01pm UTC](https://discourse.julialang.org/t/error-with-same-type-called-from-different-modules/22609/2 "2019-04-02T12:01:10Z")

</div>

It looks like you’re probably calling `include()` on the same file multiple times, which is resulting in multiple different copies of the `VortexElement` module. You essentially never want to include the same file more than once in Julia. Fortunately, this is generally very easy to solve, although I can’t make a precise suggestion without some idea of what your code looks like. For more discussion, see [I'm confused with types names](https://discourse.julialang.org/t/im-confused-with-types-names/21795)

---

_[View the full topic](https://discourse.julialang.org/t/error-with-same-type-called-from-different-modules/22609)._
