Skip to content

Commit

Permalink
Removed fast-math compiler flag in setup.py (#14)
Browse files Browse the repository at this point in the history
- Removed fast-math compiler flag in setup.py (Fixes #6)
  • Loading branch information
ianmkenney authored Aug 25, 2023
1 parent a00b6ed commit dc727dd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,14 @@ The rules for this file:
## [Unreleased]

### Authors
- ianmkenney
<!-- GitHub usernames of contributors to this release -->

### Added
<!-- New added features -->

### Fixed
- Removed ffast-math compiler flag (PR #14)
<!-- Bug fixes -->

### Changed
Expand Down
4 changes: 1 addition & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,7 @@


def extensions(debug=False, use_cython=True):
# TODO: remove fast-math?
encore_compile_args = ['-std=c99', '-ffast-math', '-funroll-loops',
'-fsigned-zeros']
encore_compile_args = ['-std=c99', '-funroll-loops', '-fsigned-zeros']

cython_linetrace = bool(os.environ.get('CYTHON_TRACE_NOGIL', False))

Expand Down

0 comments on commit dc727dd

Please sign in to comment.