Skip to content

Commit fc2d2fe

Browse files
committed
Multipole: remove unused functions
1 parent f28718a commit fc2d2fe

File tree

2 files changed

+3
-7
lines changed

2 files changed

+3
-7
lines changed

Multipole/src/io.cxx

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,6 @@
3939
namespace Multipole {
4040
using namespace std;
4141

42-
static inline int Index_2d(int it, int ip, int ntheta) {
43-
return it + (ntheta + 1) * ip;
44-
}
45-
4642
static bool file_exists(const string &name) {
4743
struct stat sts;
4844
return !(stat(name.c_str(), &sts) == -1 && errno == ENOENT);

Multipole/src/surface.hxx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -106,10 +106,10 @@ public:
106106

107107
for (size_t si = 0; si < spinWeights.size(); ++si) {
108108
int sw = spinWeights[si];
109-
realY_[si].resize(lmax + 1);
110-
imagY_[si].resize(lmax + 1);
109+
realY_[si].resize(lmax_ + 1);
110+
imagY_[si].resize(lmax_ + 1);
111111

112-
for (int l = 0; l <= lmax; ++l) {
112+
for (int l = 0; l <= lmax_; ++l) {
113113
realY_[si][l].resize(2 * l + 1);
114114
imagY_[si][l].resize(2 * l + 1);
115115

0 commit comments

Comments
 (0)