Skip to content

Conversation

@pasabanov
Copy link
Member

@pasabanov pasabanov commented Jan 26, 2025

Types of changes

  • Testing
  • Configuration (CI/CD)

Related: #13 #15 #19

Description

  • Added "Debug" and "Release" profiles to ci.yml to test library accuracy on different optimization levels.
  • Previously, tested only with -Ofast; now also testing with -O0 and -O3.

Observation: With -ffast-math (part of -Ofast), functions in the alfi::dist namespace show improved accuracy.

UPD: Test ImprovedLagrangeTest.Functions failed on the "Release" profile. Reduced the test precision from 1e-6 to 1e-5.

New profiles were added to test the accuracy
of the library on different optimization levels.
@pasabanov pasabanov added config Configuring the project tests Adding or changing tests labels Jan 26, 2025
@pasabanov pasabanov added this to the First Release Version milestone Jan 26, 2025
@pasabanov pasabanov self-assigned this Jan 26, 2025
because test failed on "Release" profile.
@pasabanov pasabanov merged commit de3aab0 into main Jan 26, 2025
5 checks passed
@pasabanov pasabanov deleted the ci branch January 26, 2025 22:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

config Configuring the project tests Adding or changing tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants