POSYDON-code / POSYDON-code/POSYDON

[BUG]: overflow warning `step_CEE`

Open
#745 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Python
Stars
45
Forks
37
Avg merge
8d 20h
Merged PRs (30d)
5

Description

Describe the bug
An overflow warning is given in step_CEE

../POSYDON/posydon/binary_evol/CE/step_CEE.py:1506: RuntimeWarning: overflow encountered in power

Expected behavior
No such warning should be happening.

POSYDON Version:
v2.2 PR

Contributor guide

No contributing guide indexed for this repository

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.

Research direction

Start in posydon/binary_evol/CE/step_CEE.py at line 1506 and reproduce the reported overflow warning in the POSYDON v2.2 PR environment. Trace the values reaching the power operation and determine a safe correction; done means the reported case no longer emits the RuntimeWarning.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.