Helmholtz-AI-Energy / Helmholtz-AI-Energy/propulate

Fix emigration and immigration propagators in `propulator.py` and `pollinator.py`.

Open
#60 1 comment 0 reactions 2 assignees View on GitHub

@oskar-taubert is already working on this.

Since Aug 25, 2023.

maintenance
Dominant language
Python
Stars
46
Forks
9
PR merge metrics
No merged PRs in 30d

Description

Currently, emigration and immigration propagators are passed down to the actual propagator and pollinator using the class itself and not an actual instance. The respective propagators are repeatedly instantiated before every new migration step. However, propagators should be instantiated only once (in the `__init__`).

This is also related to issue #61.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.