Skip to content

Commit 4edda6f

Browse files
final fix to quiver6
1 parent 621f2bc commit 4edda6f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/vector_fields/quiver/quiver_6.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ int main() {
55
using namespace matplot;
66
auto [x, y] = meshgrid(iota(-2.5, 0.25, 2.5), iota(-2.5, 0.25, 2.5));
77
vector_2d u =
8-
transform(x, y, [](double x, double y) { return cos(x)*sin(x + y); });
8+
transform(x, y, [](double x, double y) { return cos(x) * sin(x + y); });
99
vector_2d v =
10-
transform(x, y, [](double x, double y) { return sin(y)*cos(x + y); });
10+
transform(x, y, [](double x, double y) { return sin(y) * cos(x + y); });
1111

1212
vector_2d m =
1313
transform(u, v, [](double u, double v) { return sqrt(u * u + v * v); });

0 commit comments

Comments
 (0)