Fixed error message
This commit is contained in:
parent
94b9296d6b
commit
a3050e5f1d
1 changed files with 4 additions and 4 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue