Skip to content

Commit c701baf

Browse files
author
David Crouse
committed
Bug fixes.
1 parent b0a83a5 commit c701baf

2 files changed

Lines changed: 9 additions & 3 deletions

File tree

Mathematical_Functions/Shared_C++_Code/mathFuncs.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
#ifndef MATHFUNCSCPP
1010
#define MATHFUNCSCPP
1111

12-
#include <stddef.h>
12+
#include <cstddef>
1313
#include "CountingClusterSetCPP.hpp"
1414
#include <complex>
1515

@@ -100,7 +100,7 @@ T1 polyValGenCPP(const size_t numP, const T2 *p, const T3 x, const bool firstTer
100100
y=x*y+p[k];
101101
}
102102
}
103-
WR
103+
104104
return y;
105105
}
106106

Misc/Shared_C++_Code/miscFuns.hpp

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,19 @@
1-
/**MISCFUNS A variety of miscellansous functions.
1+
/**MISCFUNS A variety of miscellaneous functions.
22
*
33
*October 2024 David F. Crouse, Naval Research Laboratory, Washington D.C.
44
*/
55
/*(UNCLASSIFIED) DISTRIBUTION STATEMENT A. Approved for public release.*/
66

7+
#ifndef MISC_FUNCS
8+
#define MISC_FUNCS
9+
10+
#include <cstddef>
711
//See the comments in index2NDimCPP.cpp for a description of the inputs.
812
bool index2NDimCPP(const size_t numDim, const size_t numIdx,const size_t * const idx, const size_t * const maxVals, size_t *newIndices);
913
bool index2NDimByDimCPP(const size_t numDim, const size_t numIdx,const size_t *idx, const size_t *dims, size_t *newIndices, size_t *tempSpace);
1014

15+
#endif
16+
1117
/*LICENSE:
1218
*
1319
*The source code is in the public domain and not licensed or under

0 commit comments

Comments
 (0)