Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions toploc/C/csrc/ndd.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ inline int safeMod(long long v) {

/**
* Compute the modular inverse of a (mod m) using
* standart EEA. https://en.wikipedia.org/wiki/Extended_Euclidean_algorithm
* standard EEA. https://en.wikipedia.org/wiki/Extended_Euclidean_algorithm
* Throws if gcd(a, m) != 1.
*/
int modInverse(int a, int m) {
Expand Down Expand Up @@ -164,4 +164,4 @@ PYBIND11_MODULE(ndd, m) {
"Evaluate the polynomial at points x using Horner's method",
py::arg("coefficients"),
py::arg("x"));
}
}