Skip to content

Segmentation Faults on Small Datasets #19

@evanharwin

Description

@evanharwin

What Happened

Get a segmentation fault when running catch22.catch22_all on short lists/numpy.arrays.

What I Expected to Happen

Returns a dictionary of features (perhaps with a lot of NaN-types due to the short timeseries)

Minimum Complete Verifable Example

>>> import catch22
>>> catch22.catch22_all([1,2])
Segmentation fault

Further Details

Can check that this doesn't happen with longer arrays like so:

import catch22
timeseries = list(range(10))
while timeseries:
    print(len(timeseries))
    catch22.catch22_all(timeseries)
    timeseries = timeseries[:-1]

Metadata

Metadata

Assignees

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