From cc956f662c91ad7bb7a5d6b3879a595bb3192be9 Mon Sep 17 00:00:00 2001 From: Chen Heroy Date: Mon, 9 Dec 2024 08:42:00 -0700 Subject: [PATCH] clean up --- include/ITS.Propagation.LFMF/LFMF.h | 2 +- src/LFMF.cpp | 15 +++------------ 2 files changed, 4 insertions(+), 13 deletions(-) diff --git a/include/ITS.Propagation.LFMF/LFMF.h b/include/ITS.Propagation.LFMF/LFMF.h index 961539a..a47b590 100644 --- a/include/ITS.Propagation.LFMF/LFMF.h +++ b/include/ITS.Propagation.LFMF/LFMF.h @@ -5,7 +5,7 @@ #define __ITS_PROPAGATION_LFMF_LFMF_H__ #include -#include +#include ///< for DBL_EPSILON #include "LFMFConfig.h" diff --git a/src/LFMF.cpp b/src/LFMF.cpp index 92e603d..990c3d6 100644 --- a/src/LFMF.cpp +++ b/src/LFMF.cpp @@ -27,18 +27,9 @@ namespace LFMF { * @return error - Error code * *****************************************************************************/ -ReturnCode LFMF( - double h_tx__meter, - double h_rx__meter, - double f__mhz, - double P_tx__watt, - double N_s, - double d__km, - double epsilon, - double sigma, - int pol, - Result *result -) { +ReturnCode LFMF(double h_tx__meter, double h_rx__meter, double f__mhz, double P_tx__watt, + double N_s, double d__km, double epsilon, double sigma, int pol, Result *result) +{ ReturnCode rtn = ValidatePolarization(pol); if (rtn != SUCCESS) return rtn;