Skip to content

Bug fix for small negative real part of complex number.#36

Open
AndrewGibbs wants to merge 4 commits intoJuliaMath:masterfrom
AndrewGibbs:master
Open

Bug fix for small negative real part of complex number.#36
AndrewGibbs wants to merge 4 commits intoJuliaMath:masterfrom
AndrewGibbs:master

Conversation

@AndrewGibbs
Copy link

I noticed that the following:

lambertw(-0.4087512737796557 + 0.038455913083347504im, 0)

caused an error, and that this has already been raised as issue #35.

This was a simple fix, changing line 136 of src/LabertW.jl, pointseven = 7//10pointseven = 0.7. I have also added a new test to the testset to confirm that this fixes the issue.

@codecov
Copy link

codecov bot commented Mar 18, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 78.34%. Comparing base (8666d64) to head (af4d441).

❗ There is a different number of reports uploaded between BASE (8666d64) and HEAD (af4d441). Click for more details.

HEAD has 12 uploads less than BASE
Flag BASE (8666d64) HEAD (af4d441)
18 6
Additional details and impacted files
@@             Coverage Diff             @@
##           master      #36       +/-   ##
===========================================
- Coverage   99.40%   78.34%   -21.07%     
===========================================
  Files           1        1               
  Lines         168      157       -11     
===========================================
- Hits          167      123       -44     
- Misses          1       34       +33     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant