-
Notifications
You must be signed in to change notification settings - Fork 48
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
Add AbstractReMat, make reterms and feterms fields #380
Conversation
Codecov Report
@@ Coverage Diff @@
## master #380 +/- ##
==========================================
+ Coverage 94.90% 95.03% +0.12%
==========================================
Files 23 23
Lines 1591 1612 +21
==========================================
+ Hits 1510 1532 +22
+ Misses 81 80 -1
Continue to review full report at Codecov.
|
I am perplexed by the CI failure on nightly but I can reproduce it locally. I doubt that I will be able to get into the innards of the compiler but I may be able to create a reproducible example to allow others to isolate it. |
The failure on nightly can be reproduced by
I may need to call in the cavalry (@kleinschmidt, @palday) on this one. The first reference to our code in the traceback is
Do you think we should try to use the |
So I have good news, I think. The problem with nightly can be triggered without calling any code in
seems to be sufficient. Although I am using
|
Probably the same problem as reported in JuliaLang/julia#37640 |
I'll review later -- but since the failure is unrelated and on the optional Future tests, I would count this as an overall CI pass. |
@@ -355,6 +355,8 @@ function GeneralizedLinearMixedModel( | |||
LMM = LinearMixedModel( | |||
LMM.formula, | |||
LMM.allterms, | |||
LMM.reterms, |
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.
I'm wondering if it wouldn't be easier to just modify the already constructed LMM. There's not much overhead here since we're side-stepping the constructor and not doing any extra allocations, but we could replace the weights and response fields in the existing struct (I just checked and LinearMixedModel
is not immutable
.)
As far as #77 goes it's a good start; we'd also need to widen the signatures on some of the methods that take |
@dmbates I think we're good to go the release version with the expanded type hierarchy. As we see actual use cases of In other words: I'm for merging this in, but keeping "more (This is just repeating what @kleinschmidt said with different words.) |
I will review places where |
@palday Please squash and merge if this looks okay. |
AbstractReMat
which, I think, addresses ReMat type that holds "raw" matrix #77 (@kleinschmidt please confirm if this is what you want)reterms
andfeterms
as fields in aLinearMixedModel
instead of propertiesallterms
field was surprisingly expensive when done in a hot loop