programming language
Revisión | fa6bf361588e7e51d54356dd86bcc42e59cca102 (tree) |
---|---|
Tiempo | 2022-01-12 23:05:26 |
Autor | dhrname <dhrname@joes...> |
Commiter | dhrname |
Modify a adjoint method of the PowerSetElemenetModel class
@@ -617,6 +617,7 @@ namespace jstr | ||
617 | 617 | targetSet->adjoint(arr); |
618 | 618 | targetSet->setBoolMap(arr->getId(), true); |
619 | 619 | this->setBoolMap(arr->getId(), true); |
620 | + this->CartesianProductModel::adjoint(arr); | |
620 | 621 | } |
621 | 622 | |
622 | 623 |
@@ -1783,8 +1784,8 @@ int main(int argc, char **argv) | ||
1783 | 1784 | jstr::Arrow* arrac2(new jstr::Arrow("remoteNameB")); |
1784 | 1785 | arrac2->setDomain("0.1"); |
1785 | 1786 | arrac2->setCodomain("flo"); |
1786 | - cpmod2->adjoint(arrab2); | |
1787 | - cpmod2->adjoint(arrac2); | |
1787 | + psmod->adjoint(arrab2); | |
1788 | + psmod->adjoint(arrac2); | |
1788 | 1789 | |
1789 | 1790 | EXPECT(psmod->hasElement("remoteNameA"), true); |
1790 | 1791 | EXPECT(psmod->hasElement("remoteNameB"), true); |