Máté Kovács
Máté Kovács
Seems related to https://github.com/serde-rs/serde/issues/1621
Found this post on Reddit where another person describes the same issue: https://www.reddit.com/r/rust/comments/biuzaw/bizarre_issue_with_glium/ CC @NickDriscoll
The hypothesis put forward by a commenter on the Reddit thread above seems to be correct. Glium doesn't seem to handle well that an external process modifies the GL context...
This seems to be related to https://github.com/glium/glium/issues/1696, i.e. could be fixed by the ability to tell Glium that the cached GL state is no longer valid.
I think a solution to https://github.com/glium/glium/issues/1505 would also resolve this issue.
Apart from the obvious things like implementing `__len__()` and `__getitem__()` on the variant PyClasses (instead of named field accessor methods), there's a detail around the `match` syntax that seems important...
> If I follow correctly, the `__match_args__` define exactly the names which are available? So in the example you give above, `__match_args__` were `a`, `b`, `c`? In the pattern `case...
@adam-urbanczyk Thanks for proposing an approach! I'll write down what I understood just to make sure that it is correct. 1. Extend `Assembly` with a `subshape_colors: Dict[Shape, Color]` field. 2....
@mlstowell This is really helpful, thank you for the detailed explanation! :) Is there a way to detect these errors early through the public `mfem` API that doesn't depend on...
@mlstowell Thanks for the thoughtful response! I'll look into `IterativeSolverMonitor` to see if that helps. And yes, I'll start the discussion on tightening type safety around semantically different uses of...