Skip to content

Conversation

@Mr-Imperium
Copy link

Description

Moved 9 elementwise test functions from test_math.py to test_elemwise.py
Added necessary imports (erfc, erfcx, isnan, softplus) to test_elemwise.py
Kept 3 non-elementwise tests in test_math.py (dot, int_div_specific, max_and_argmax)
Both files compile successfully without syntax errors

Related Issue

Checklist

Type of change

  • New feature / enhancement
  • Bug fix
  • Documentation
  • Maintenance
  • Other (please specify):

@ricardoV94 ricardoV94 changed the title Fix Issue #1730 Move MLX tests from math to elemwise Nov 27, 2025
@ricardoV94
Copy link
Member

Thanks @Mr-Imperium

I left some comments above

@Mr-Imperium
Copy link
Author

@ricardoV94 I've worked on them. Thankyou for the review!

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.

MLX tests: Elemwise tests in test_math.py

2 participants