Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • T tinyarray
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 5
    • Issues 5
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • kwant
  • tinyarray
  • Merge requests
  • !11

Circumvent an error in test_dot for Numpy 1.12.0.

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Jörg Behrmann requested to merge behrmann/tinyarray:fix-test-on-numpy-1.12.0 into master Feb 11, 2017
  • Overview 3
  • Commits 1
  • Pipelines 2
  • Changes 1

Numpy 1.12.0 updated iscomplexobj which always shows False for tinyarrays, which makes assert_almost_equal fail for complex array-valued arguments, as they will not be split up into real and imaginary part. We circumvent this bug by testing every entry separately in this case. This bug will be fixed for Numpy 1.12.1.

Fixes #11 (closed)

Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: fix-test-on-numpy-1.12.0