Skip to content

Double registration of TinyVector converters #2

@burgerdev

Description

@burgerdev

The ExportV.export_() call in blockwisecc_py.cxx, at line 106, implicitly registers a to-python converter for vigra::TinyVector, which is probably already registered in vigra. Should be replaced by an explicit from-python converter.

Warning:

$ python -c 'import blockedarray'
/home/markus/Coding/hci/blockedarray/blockedarray/__init__.py:1: RuntimeWarning: to-Python converter for vigra::TinyVector<int, 2> already registered; second conversion method ignored.
  from _blockedarray import *
/home/markus/Coding/hci/blockedarray/blockedarray/__init__.py:1: RuntimeWarning: to-Python converter for vigra::TinyVector<int, 3> already registered; second conversion method ignored.
  from _blockedarray import *

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions