Skip to content
Snippets Groups Projects
Commit ec9cc758 authored by Elias Pipping's avatar Elias Pipping Committed by Elias Pipping
Browse files

Constness

parent 275eb320
No related branches found
No related tags found
No related merge requests found
......@@ -62,7 +62,7 @@ int main() {
double const intervals = 10000;
for (size_t i = 0; i < intervals; ++i) {
double alpha = i / (double)intervals * 2 * M_PI;
double const alpha = i / (double)intervals * 2 * M_PI;
SmallVector x;
x[0] = scale * std::sin(alpha);
x[1] = scale * std::cos(alpha);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment