# Coupled non-linear PDEs using DifferentialEquations.jl and the MOL

**URL:** <https://discourse.julialang.org/t/coupled-non-linear-pdes-using-differentialequations-jl-and-the-mol/74139>\
**Category:** Modelling & Simulations\
**Tags:** package, diffeq, finitediff\
**Created:** [January 6, 2022, 12:48pm UTC](https://discourse.julialang.org/t/coupled-non-linear-pdes-using-differentialequations-jl-and-the-mol/74139 "2022-01-06T12:48:04Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![Iddingsite](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/iddingsite/32/31840_2.png) [@Iddingsite](https://discourse.julialang.org/u/Iddingsite)\
**Post date:** [January 7, 2022, 9:12am UTC](https://discourse.julialang.org/t/coupled-non-linear-pdes-using-differentialequations-jl-and-the-mol/74139/7 "2022-01-07T09:12:10Z")

</div>

Thx for the reply.

I see what you mean, with an issue similar to this topic: [Best practice for avoiding line break bugs in long expressions](https://discourse.julialang.org/t/best-practice-for-avoiding-line-break-bugs-in-long-expressions/7475)

So I’ve put everything on 1 line again (which is not great for readibility but anyway) and… It doesn’t change anything 😅

I don’t know why, but julia seems to understand my notation if it is in a loop, like this work:

```
test = zeros(2)
test2 = zeros(2)

for i in 1:2
    test[i] = 
        1 +
        2
    test2[i] = 1 + 2
    println("test[i]", test[i])
    println("test2[i]", test2[i])
end

```

shows:

```
test[i]3.0
test2[i]3.0
test[i]3.0
test2[i]3.0

```

So anyway, I am back to my problem.

---

_[View the full topic](https://discourse.julialang.org/t/coupled-non-linear-pdes-using-differentialequations-jl-and-the-mol/74139)._
