Incremental GA support starting from CSchankGA#4261
Incremental GA support starting from CSchankGA#4261sarrasoussia wants to merge 89 commits intomainfrom
Conversation
JacquesCarette
left a comment
There was a problem hiding this comment.
Quite a lot of this looks reasonable.
|
I am not sure the usual |
|
What commands are you running? If you can share logs, we can try to debug it. |
|
@JacquesCarette A basic |
|
Testing locally, I see errors, for example, with WARNING! Overwriting `cartesian` :: ConceptChunk
Symbol Table: dblpend: ERROR! Overwriting a chunk (`dblpend_multivector` :: `ConceptChunk`) with a chunk of a different type: `IdeaDict`
CallStack (from HasCallStack):
error, called at lib/Database/Drasil/ChunkDB.hs:217:18 in drasil-database-0.1.1.0-AILWoHk0oaT2jusNLXYhMa:Database.Drasil.ChunkDB
make: *** [dblpend_gen] Error 1This is by running @sarrasoussia With #4320, we changed the |
|
Can you please post the results of Do you want to try debugging this over a Discord call tomorrow? |
Yes please, thank youu |
fdd4a42 to
38750d8
Compare
|
Note: Right now we had both ClifKind (Scalar, Vector, etc.) and also the idea of picking grades with [Int]. That’s redundant — the kind already tells you the grade, and it doesn’t cover mixed cases (like scalar + bivector). So better to just drop ClifKind and use a list of Ints for grades. Grades are just numbers between 0 and n (where n is the dimension). Anything outside that doesn’t make sense, so we need to handle it in code. There are a few ways:
|
b26aa82 to
38750d8
Compare
|
Your 'Note' is great. I would actually implement a combination of both, i.e. data ClifS = ClifS Dimension Grades Spaceand a smart constructor for Rather than either of those returning |
Work based on #4009