ukaea / ukaea/PROCESS

Divide by zero warnings in physics.py

Open
#4,023 2 comments 0 reactions 1 assignee View on GitHub

@kj5248 is already working on this.

Since Apr 8, 2026.

Physics
Dominant language
Python
Stars
71
Forks
27
Avg merge
2d 18h
Merged PRs (30d)
33

Description

Occurs when running integration or regression tests.

process/physics.py:7753: RuntimeWarning: divide by zero encountered in scalar divide
    * (nd_plasma_pedestal_electron / n_greenwald) ** -0.174
/process/physics.py:4074: RuntimeWarning: invalid value encountered in scalar divide
    1

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.