-
Notifications
You must be signed in to change notification settings - Fork 1
reduce it down a little bit #1
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
Conversation
@@ -1 +1 @@ | |||
nightly-2019-11-24 | |||
nightly-2019-11-26 |
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.
This is the current latest nightly. Which digresses from 2019-11-25 which appears to be happy with this code.
fn problematic_function<Space>(_volume_space: &Space, material_surface: &Polygon<f64>) | ||
where | ||
Space: GeometricFiniteElementSpace<f64, GeometryDim = U2, ReferenceDim = U2>, | ||
Space: GeometricFiniteElementSpace<GeometryDim = U1/*, NodalDim = U1*/>, |
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.
Simpler "fix" as below
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.
That is very strange, as the Space
type has nothing to do with the the FiniteElement
impls used in the function code.
// Including this trait bound (which should already be satisfied) seems to resolve the ICE | ||
//+ FiniteElementAllocator<U1, U1> | ||
// | ||
// This has the same effect as telling the compiler Space::NodalDim = U1; which was not already | ||
// known to be satisfied. |
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.
Or so it does in this case.
git = "https://github.com/rustsim/nalgebra.git" | ||
rev = "31ef5f0ab02c6ecf279867f07cd63e16cece8b75" | ||
default-features = false | ||
features = ["serde-serialize", "default"] |
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.
VERY weird that "default" acts differently to "std" here. Replacing this with "std" does not trigger the ICE.
material_surface_element | ||
.map_reference_coords(&eta) | ||
.magnitude(); | ||
material_surface_element.map_reference_coords().magnitude(); |
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.
This is the same bug as above.
Thanks a lot @WildCryptoFox! |
No description provided.