Skip to content

Commit a4616a9

Browse files
committed
Fixed some of the includes
1 parent 094e5d5 commit a4616a9

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

content/numerical/PolyEvaluate.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
*/
77
#pragma once
88

9+
#include "PolyBase.h"
910
#include "PolyMod.h"
1011

1112
vector<num> eval(const poly &a, const vector<num> &x) {

content/numerical/PolyIntegDeriv.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,4 @@ poly integr(poly a) {
1919
rep(i, 2, sz(b)) b[i] = b[mod%i]*Mod(-mod/i+mod);
2020
rep(i, 1 ,sz(b)) b[i] = a[i-1] * b[i];
2121
return b;
22-
}
22+
}

content/numerical/PolyInterpolate.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
*/
88
#pragma once
99

10-
#include "PolyMod.h"
11-
#include "PolyPow.h"
10+
#include "PolyBase.h"
11+
#include "PolyIntegDeriv.h"
1212
#include "PolyEvaluate.h"
1313

1414
poly interp(vector<num> x, vector<num> y) {
@@ -21,4 +21,4 @@ poly interp(vector<num> x, vector<num> y) {
2121
rep(i,0,n) down[i+n] = poly({y[i]*(num(1)/a[i])});
2222
for(int i=n-1;i>0;i--) down[i] = down[i*2] * up[i*2+1] + down[i*2+1] * up[i*2];
2323
return down[1];
24-
}
24+
}

0 commit comments

Comments
 (0)