opencog / atomspace

The OpenCog (hyper-)graph database and graph rewriting system
https://wiki.opencog.org/w/AtomSpace
Other
795 stars 225 forks source link

Inserting FloatValue, resolves #3026 #3031

Closed sikefield3 closed 1 year ago

sikefield3 commented 1 year ago

This PR relates to #3026.
In order to avoid an exception, Value has to be replaced with FloatValue in two places.
Apart from that, missing modules were included in two places.

linas commented 1 year ago

Thanks!

linas commented 1 year ago

The (use-modules (opencog persist)) is actually wrong; in that case the (cog-delete!) at the end needed to be changed to (cog-extract!) ... I'm fixing that now.