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 df521fc commit a1775ceCopy full SHA for a1775ce
examples/data_distribution/binscatter/binscatter_2.cpp
@@ -12,8 +12,8 @@ int main() {
12
13
auto x = randn(1000000, 0., 1.);
14
auto y = transform(x, [](double x) { return 2 * x + randn(0, 1); });
15
- std::vector x_line(x.begin(), x.begin() + 1000);
16
- std::vector y_line(y.begin(), y.begin() + 1000);
+ std::vector<double> x_line(x.begin(), x.begin() + 1000);
+ std::vector<double> y_line(y.begin(), y.begin() + 1000);
17
18
subplot(2, 3, 0);
19
scatter(x_line, y_line);
0 commit comments