We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 67a5cf0 commit 3bbc549Copy full SHA for 3bbc549
contents/barnsley/code/cpp/barnsley.cpp
@@ -75,6 +75,7 @@ auto select_array(
75
rnd -= probabilities[i];
76
}
77
assert(!static_cast<bool>("check if probabilities adding up to 1"));
78
+ return hutchinson_op[0];
79
80
81
// This is a general function to simulate a chaos game
0 commit comments