| … | … | @@ -67,7 +67,7 @@ Handle LinkStyle::create_unique_section(const Handle& sect) |
| 67 | 67 | Handle usect(_scratch->add_link(SECTION, upoint, disj)); |
| 68 | 68 | |
| 69 | 69 | // Record it's original type. |
| 70 | | _inhsects.emplace_back(createLink(INHERITANCE_LINK, usect, sect)); |
| 70 | // _inhsects.emplace_back(createLink(INHERITANCE_LINK, upoint, sect)); |
| 71 | 71 | |
| 72 | 72 | return usect; |
| 73 | 73 | } |
| … | … | @@ -165,8 +165,15 @@ void LinkStyle::clear(void) |
| 165 | 165 | void LinkStyle::save_work(AtomSpace* as) |
| 166 | 166 | { |
| 167 | 167 | for (const Handle& h : _mempoints) |
| 168 | | as->add_atom(h); |
| 169 | | |
| 170 | | for (const Handle& h : _inhsects) |
| 171 | | as->add_atom(h); |
| 168 | { |
| 169 | Handle pt(as->add_atom(h)); |
| 170 | |
| 171 | #if FINISH_ME_LATER |
| 172 | // Link tying together the fully-connected piece, and the |
| 173 | // puzzle piece it came from. |
| 174 | IncomingSet iset = pt->get_incoming_by_type(SECTION, as); |
| 175 | OC_ASSERT(1 == iset.size(), "Wrong number of sections"); |
| 176 | as |
| 177 | #endif |
| 178 | } |
| 172 | 179 | } |