Skip to content

Commit f3ec9f2

Browse files
committed
remove extra !
1 parent bc2302c commit f3ec9f2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Libraries/oneMKL/monte_carlo_european_opt/src/montecarlo.hpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -90,11 +90,11 @@ const MonteCarlo_vector& h_StockPrice, const MonteCarlo_vector& h_OptionStrike,
9090
std::cout << "L1_Norm = "<< L1_norm << std::endl;
9191
std::cout << "Average RESERVE = "<< sum_reserve << std::endl;
9292
std::cout << "Max Error = "<< max_delta << std::endl;
93-
if(sum_reserve > 1.0f){
94-
std::cout << "TEST PASSED!" << std::endl;
93+
if(sum_reserve > 1.0f) {
94+
std::cout << "TEST PASSED" << std::endl;
9595
}
9696
else{
97-
std::cout << "TEST FAILED!" << std::endl;
97+
std::cout << "TEST FAILED" << std::endl;
9898
exit(1);
9999
}
100100
}

0 commit comments

Comments
 (0)