`assign` for `AllAtOnceFunction` and `AllAtOnceCofunction` should use `_vs_op` for all sources.
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 38/100
Direzione di ricerca
Start with the assign implementation and its _vs_op utility, comparing the Vec path with the existing handling for AllAtOnceFunction and Function. Run test_allatoncesolver::test_solve_heat_equation and the assign tests; done means _vs_op works for all sources without the heat-equation failure.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
In #158 I tried to change the assign implementation to just use the _vs_op utility method to reuse the logic for dealing with assigning from another AllAtOnceFunction, a Vec, or a Function. This passes all assign tests.
However, test_allatoncesolver::test_solve_heat_equation fails if _vs_op is used to assign from a Vec. The only difference is whether the aaofunc.global_vec is accessed via read/write access or just write access. This shouldn't make a difference because the vec is overwritten with the new value anyway, but it makes the test fail.
For the time being I've just left the old assign implementation for Vec. Although using _vs_op is just a nice way of reusing code, we should track down why it fails because there may be some other underlying issue.
- Lingua principale
- Python
- Stelle
- 4
- Fork
- 2
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di firedrakeproject/asQ
-
Remove manual prefix generation with the next Firedrake release.Forse di nuovo libera @JHopeCollins l’ha presa 251 giorni fa e non c’è nessuna pull request aperta. Apertaupstream
firedrakeproject/asQ#222 · 1 assegnatario ·
-
Make sure examples all run properlyForse di nuovo libera @JHopeCollins l’ha presa 486 giorni fa e non c’è nessuna pull request aperta. Apertabug Examples tests
firedrakeproject/asQ#219 · 1 assegnatario ·
-
bug Core functionality upstream
Difficoltà 4/5 3-5 giorni Idoneità per principianti 30/100
firedrakeproject/asQ#214 · 9 commenti ·
-
Test `AuxiliaryBlockPC` with non-homogeneous boundary conditionsForse di nuovo libera @JHopeCollins l’ha presa 803 giorni fa e non c’è nessuna pull request aperta. ApertaCore functionality tests
firedrakeproject/asQ#202 · 1 assegnatario ·
-
Make `complex_proxy` commonly availableForse di nuovo libera @JHopeCollins l’ha presa 844 giorni fa e non c’è nessuna pull request aperta. ApertaCore functionality refactor
firedrakeproject/asQ#199 · 1 assegnatario ·
Tutte le issue di firedrakeproject/asQ
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
alltheplaces/alltheplaces#20570 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
I maintainer di solito rispondono entro 1 giorno
-
area:ci bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
catincloud-labs/dagster-dex#206 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
number_to_words raises ValueError with threshold= for ordinals ("12th") and comma-grouped strings ("1,000")Forse già presa @hemtilva l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
I maintainer di solito rispondono entro 1 giorno
-
providers security
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
agentbreeder/agentbreeder#1031 ·
I maintainer di solito rispondono entro 1 giorno