Skip to content

MVHistory revamp

Vicentini Filippo requested to merge history-revamp into master

Created by: PhilipVinc

MVHistory did not handle n-dimensional arrays, or arbitrary objects.

This (final) PR on the topic makes it so that MVHistory can accept any object and/or n-dimensional array. If the object is an array, it tries to concatenate them and store it contiguously, while otherwise it will simply use a python list.

This PR also adds support for slicing the MVHistory object, in order to obtain slices of the history itself. Slices are MVHistory objects themselves.

Tests should cover all new functionality.

Merge request reports