PointMemory invalid scm handle values

15 views
Skip to first unread message

Randy Deborggraeve

unread,
Jan 23, 2018, 5:23:00 PM1/23/18
to opencog
What i'm trying to load SCM modules using  opencog/opencog/eva/model/time-map.scm, i'm getting the following error:
ERROR: In procedure cog-pointmem-create-map: Expecting positive spatial resolution (/home/randy/workspace/opencog/opencog/opencog/spacetime/pointmemory/PointMemorySCM.cc:238)
Function args:
((SpaceMapNode "faces")
 
(ListLink
   
(NumberNode "0.000000")
   
(NumberNode "66.000000")
   
(NumberNode "150.000000")
)
)
ABORT
: C++-EXCEPTION




Did some debugging and in file opencog/spacetime/pointmemory/PointMemorySCM.cc at line 227, the function hs[0]->get_name() does seem to return 0.

It does work when i change the time-map.scm
from:
(cog-pointmem-create-map facemap (ListLink (Number 0.01) (Number 66) (Number 150)))
to
(cog-pointmem-create-map facemap (ListLink (Number 1) (Number 66) (Number 150)))

So it seems the decimal places are lost somewhere, but can't figure out what direction to search to fix this.

Also created a new issue for this:
https://github.com/opencog/opencog/issues/2983


Kind regards,
Randy
Reply all
Reply to author
Forward
0 new messages