Closed mbarzegary closed 2 years ago
Thanks for the report. The faulty commit is https://github.com/FreeFem/FreeFem-sources/commit/95892e4772ee7ef40735e50a1bfe385575638cb6. I'm investigating.
Oops, never mind, it's actually a very trivial error, you define a variable named n2oGlobal
in your script, but there is the same variable in macro_ddm.idp
. I'll rename the unexposed one to n2oGlobalPrivate
.
Fixed, sorry for the inconvenience.
No problem. Glad to know the issue is fixed. By the way, since my model is shared on github, I think the safest option for me is to change the name of the array to n2oGlob
, otherwise the users may come back to me saying that the code doesn't work on FF4.11. Fortunately, now I can tell them to use v4.12 whenever it comes.
Hi,
Is there any breaking changes in FF 4.11 for
macro_ddm
and HPDDM plugins? I faced it while debugging a model that started to crash on the new version of FF. I prepared the following minimal working example to show the problem. I have checked it on Windows 10 and Ubuntu 22.04.This code runs fine with FF 4.8 and 4.10 but encounters errors on FF 4.11:
The bug surprisingly lies in the name of the array. If we change
n2oGlobal
to anything else, liken2oGlob
, the code works normally on FF 4.11.