Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 7d88512

Browse filesBrowse files
authored
Update PolyMultipoint.h
1 parent 75c92c5 commit 7d88512
Copy full SHA for 7d88512

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed

‎Implementations/content/numerical/Polynomials/PolyMultipoint.h

Copy file name to clipboardExpand all lines: Implementations/content/numerical/Polynomials/PolyMultipoint.h
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ void segProd(V<poly>& stor, poly& v, int ind, int l, int r) { // v -> places to
1212
stor[ind] = conv(stor[2*ind],stor[2*ind+1]);
1313
}
1414
void evalAll(V<poly>& stor, poly& res, poly v, int ind = 1) {
15-
v = divi(v,stor[ind]).s;
15+
v = quoRem(v,stor[ind]).s;
1616
if (sz(stor[ind]) == 2) { res.pb(sz(v)?v[0]:0); return; }
1717
evalAll(stor,res,v,2*ind); evalAll(stor,res,v,2*ind+1);
1818
}

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.