Skip to content

reduce function not available in python 3 #8

@hsolbrig

Description

@hsolbrig

Several functions (magnitude, dot, etc) fail because reduce has been removed from the core library. To use it, one needs to add:

from functools import reduce

to the header

This appears to work in python 2.7 as well, so it appears that it would do no harm.

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