message: Fix seg fault in cubical test
diff: @@ -200,14 +200,14 @@ def test_cubical_generators_from_vertices():
  assert np.array_equal(g[1][0], np.array([14]))
  def test_periodic_cubical_generators_from_vertices():
  - cub = PeriodicCubicalComplex(vertices = [[0, 0, 0, 0], [0, 1, 1, 0], [0, 1, 1, 0], [0, 0, 0, 0]], periodic_dimensions=[True, True])
  + cub = PeriodicCubicalComplex(vertices = [[0, 0, 0, 0], [0, 1, 1, 0], [0, 1, 1, 0], [0, 0, 0, 0]], periodic_dimensions=[False, False])
  cub.persistence()
  g = cub.vertices_of_persistence_pairs()
  - assert len(g[0]) == 0
  - assert len(g[1]) == 3
  + assert len(g[0]) == 2
  + assert len(g[1]) == 1
  + assert np.array_equal(g[0][0], np.empty(shape=[0,2]))
  + assert np.array_equal(g[0][1], np.array([[15, 10]]))
  assert np.array_equal(g[1][0], np.array([0]))
  - assert np.array_equal(g[1][1], np.array([0, 0]))
  - assert np.array_equal(g[1][2], np.array([10]))
  def test_cubical_cofaces_of_persistence_pairs_when_pd_has_no_paired_birth_and_death():
  cubCpx = CubicalComplex(dimensions=[1,2], top_dimensional_cells=[0.0, 1.0])
  