Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • T transonic
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 21
    • Issues 21
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 2
    • Merge requests 2
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • fluiddyn
  • transonic
  • Issues
  • #47

Closed
Open
Created Dec 23, 2021 by Neal Becker@ndbecker

boundscheck ignored?

In this test, it seems boundscheck is ignored? A "constellation" object is created, which is basically just a numpy array. It overloads call, which just redirects to getitem. When called with a scalar arg (no len), it should call call1, which should have boundscheck. It does not appear to work. In the last test case in test_constellation.py, we have an array of size 2, but calling c[10] returns random data instead of an error.

https://gist.github.com/nbecker/76ac6e37652e7b0424886f5c9cbfa33d

Edited Dec 23, 2021 by Neal Becker
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking