Skip to content
Snippets Groups Projects

Resolving Issue 85: TypeError in coatingthermal with old version of numpy

Merged Anchal Gupta requested to merge anchal.gupta/pygwinc:master into master

Resolving the issue mentioned in Issue 85 regarding the behavior of np.flip in numpy versions before 1.15. Modern np.flip has a default axis option while older versions required you to give an axis specifically. We are only flipping 1-dimensional arrays so I have replaced all np.flip with np.flipud which is equivalent to calling np.flip(m, 0). This should solve the issue. However, locally I could not confirm this as I was having segmentation fault error. The local CI test also couldn't pass due to a problem with all package. So hopefully, the reviewers can test this branch in the appropriate place. I don't see a reason for why this would fail with older numpy versions now.

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading