Skip to content

Commit

Permalink
Relax compile-optimization restrictions to see what exactly causes ma…
Browse files Browse the repository at this point in the history
…cos-14 optimized results to diverge from unoptimized code.
  • Loading branch information
anugrahjo committed Dec 5, 2024
1 parent 50d4a8f commit 4ce61f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyslsqp/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ slsqp_source = custom_target('_slsqpmodule.c',
)

# Optimization flags for the Fortran compiler
fortran_optimization_flags = ['-O3', '-ffp-contract=off', '-fno-fast-math', '-fno-associative-math']
fortran_optimization_flags = ['-O3', '-ffp-contract=off', '-fno-fast-math']

py.extension_module('_slsqp',
['slsqp/slsqp_optmz.f', slsqp_source], # Source files for the extension module
Expand Down

0 comments on commit 4ce61f4

Please sign in to comment.