Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • SWIFTsim SWIFTsim
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 61
    • Issues 61
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 20
    • Merge requests 20
  • Deployments
    • Deployments
    • Releases
  • Packages and registries
    • Packages and registries
    • Model experiments
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • SWIFT
  • SWIFTsimSWIFTsim
  • Issues
  • #272

Some python scripts are not compatible with numpy 1.8.2

This is not really an important issue, but some of the python scripts in the examples use functionality that is not supported by numpy 1.8.2, e.g. cbrt, dtype args in linspace, etc. This is the version of numpy that ships with Ubuntu 14.04, which is still widely used (my computer and all computing nodes in Ghent I use still run it).

Sometimes the scripts can be made compatible with very little changes, and it annoys me a bit that I have to make the same changes every time I fetch a fresh copy of the repository. But I also have to admit I haven't found a proper solution for the missing cbrt yet.

Is it worth my time to go through the scripts and make them numpy 1.8.2 compatible?

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking