Skip to content

Passing a reset signal to TMRegion from a Python region triggers an assert #1033

@fcr

Description

@fcr

Linking the reset signal from a Python region to a TMRegion in a HTMNetwork triggers the assert:
NTA_ASSERT(reset.getType() == NTA_BasicType_Real32) in line 193 of TMRegion.cpp.

The reset field in the output of the Python region is correctly of the type float32.
I am guessing that this may be a Numpy2 issue since this was not a problem with Numpy1.

I have temporarily removed this line from TMRegion.cpp and my project works correctly. All htm.core unit tests still pass as well so this suggests that a test for this use case could be added.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions