-
Notifications
You must be signed in to change notification settings - Fork 94
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix wrong usage of shape_value_type #1160
base: master
Are you sure you want to change the base?
Conversation
Minor additions to interpolation testing
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #1160 +/- ##
=======================================
Coverage 93.74% 93.75%
=======================================
Files 39 39
Lines 6238 6240 +2
=======================================
+ Hits 5848 5850 +2
Misses 390 390 ☔ View full report in Codecov by Sentry. |
The function shape_value_type and your newly added _function_value_type does basically the same thing, so i dont understand what this fixes? |
The way I understand is that
So the difference would occur if the eltype of u would be a tensor, because I was surprised so perhaps we are never supposed reach this case in the code here (discovered it when working with #1161 where such a function became useful for the same purpose as used here). |
Ah I see, |
Can |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@fredrikekre's review comments
Want to see test coverage first, and then should add test that catches this (unless I thought something wrong here - could you check @lijas?)