File tree Expand file tree Collapse file tree 2 files changed +3
-7
lines changed Expand file tree Collapse file tree 2 files changed +3
-7
lines changed Original file line number Diff line number Diff line change 39
39
namespace Multipole {
40
40
using namespace std ;
41
41
42
- static inline int Index_2d (int it, int ip, int ntheta) {
43
- return it + (ntheta + 1 ) * ip;
44
- }
45
-
46
42
static bool file_exists (const string &name) {
47
43
struct stat sts;
48
44
return !(stat (name.c_str (), &sts) == -1 && errno == ENOENT);
Original file line number Diff line number Diff line change @@ -106,10 +106,10 @@ public:
106
106
107
107
for (size_t si = 0 ; si < spinWeights.size (); ++si) {
108
108
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 );
111
111
112
- for (int l = 0 ; l <= lmax ; ++l) {
112
+ for (int l = 0 ; l <= lmax_ ; ++l) {
113
113
realY_[si][l].resize (2 * l + 1 );
114
114
imagY_[si][l].resize (2 * l + 1 );
115
115
You can’t perform that action at this time.
0 commit comments