Skip to content

Commit e92631e

Browse files
committed
Fix some compile issues on windows for the unit tests
1 parent 9bd89f1 commit e92631e

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

target/testing/test_PeakDists.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -860,7 +860,7 @@ BOOST_AUTO_TEST_CASE( DoubleSidedCrystalBall )
860860

861861
{
862862
// Check Gaussian component of DSCB is normalized correctly
863-
double gaus_limit_norm = DSCB_norm( 10, 5, 10, 5 );
863+
double gaus_limit_norm = DSCB_norm( 10.0, 5.0, 10.0, 5.0 );
864864
double gause_com = DSCB_gauss_indefinite_non_norm_t( 10 )
865865
- DSCB_gauss_indefinite_non_norm_t( -10 );
866866

target/testing/test_RelEffAuto.cpp

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@
2525
#include <string>
2626
#include <iostream>
2727

28+
#include "InterSpec/RelActCalcAuto_imp.hpp"
29+
2830
#include "rapidxml/rapidxml.hpp"
2931

3032
//#define BOOST_TEST_DYN_LINK
@@ -46,7 +48,7 @@
4648
#include "InterSpec/RelActCalc.h"
4749
#include "InterSpec/DecayDataBaseServer.h"
4850

49-
#include "InterSpec/RelActCalcAuto_imp.hpp"
51+
#include "InterSpec/PeakFit_imp.hpp"
5052

5153

5254
using namespace std;
@@ -146,7 +148,7 @@ BOOST_AUTO_TEST_CASE( FitContinuum )
146148
vector<double> continuum_coeffs(num_polynomial_terms, 0.0);
147149
double peak_counts[nbin];
148150

149-
RelActCalcAuto::fit_continuum( energies, data, nullptr, nbin, num_polynomial_terms, step_continuum,
151+
PeakFit::fit_continuum( energies, data, nullptr, nbin, num_polynomial_terms, step_continuum,
150152
ref_energy, peaks, false, continuum_coeffs.data(), peak_counts );
151153

152154

0 commit comments

Comments
 (0)