Skip to content

MOLE.jl: sligthly change tolerance of div and grad test - #478

Merged
Tony-Drummond merged 1 commit into
mainfrom
valeria/test-tol
Sep 25, 2026
Merged

Tony-Drummond merged 1 commit into
mainfrom
valeria/test-tol

Conversation

@valeriabarra

Copy link
Copy Markdown
Collaborator

What type of PR is this? (check all applicable)

  • Refactor
  • Feature
  • Bug Fix
  • Optimization
  • Example
  • Documentation

Description

Slightly changed the tolerance for the div and grad test. Sometimes this test was failing due to the random location of nodes being too close.

Related Issues & Documents

Closes #477

QA Instructions, Screenshots, Recordings

Please replace this line with instructions on how to test your changes, a note
on the devices and browsers this has been tested on, as well as any relevant
images for UI changes.

Reason:

Added/updated tests?

_We encourage you to test all code included with MOLE, including examples.

  • Yes
  • No, and this is why: please replace this line with details on why tests
    have not been included
  • I need help with writing tests

Read Contributing Guide and Code of Conduct

@codecov

codecov Bot commented Sep 25, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@Tony-Drummond Tony-Drummond left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The proposed changes that lower the tolerance to 10^-9 has improved the completion of the divergence and gradient tests.

@Tony-Drummond
Tony-Drummond merged commit f550bdd into main Sep 25, 2026
32 checks passed
@valeriabarra
valeriabarra deleted the valeria/test-tol branch October 12, 2026 22:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

rand() in Julia test causes random failures of automated workflows

2 participants