OverviewFilesCommitsIssuesDocsReleasesPeers

opencog-atomspace commits / 8ddb541

Do content compare to find the correct defnition
8ddb541a934db9479f6ce66a6a36481238b57b0c
by Linas Vepštas <linasvepstas@gmail.com> · 2026-01-22T03:23:40.000Z

Changed files (1) +2 -1

opencog/atoms/grant/UniqueLink.cc +2 -1
……@@ -142,7 +142,8 @@ Handle UniqueLink::get_unique_nt(const Handle& alias, Type type,
142142 int depth = INT_MAX;
143143 for (const Handle& defl : defs)
144144 {
145 if (defl->getOutgoingAtom(0) != alias) continue;
145 // Do content-compare; the alias might be in a different space.
146 if (*defl->getOutgoingAtom(0) != *alias) continue;
146147 if (disallow_open)
147148 {
148149 UniqueLinkPtr ulp(UniqueLinkCast(defl));