Fixed error message

This commit is contained in:
Yentl Van Tendeloo 2017-08-24 18:43:44 +02:00
parent 94b9296d6b
commit a3050e5f1d

View file

@ -657,10 +657,10 @@ class CoupledDEVS(BaseDEVS):
" '%s' and '%s' belong to the same model" +
" '%s'. " +
" Direct feedback coupling not allowed") % (
self.getModelFullName(),
p1.getPortFullName(),
p2.getPortFullName(),
p1.host_DEVS.getModelFullName()))
self.getModelName(),
p1.getPortName(),
p2.getPortName(),
p1.host_DEVS.getModelName()))
else:
p1.outline.append(p2)
p2.inline.append(p1)