aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/stdvector.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/stdvector.cpp')
-rw-r--r--test/stdvector.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/stdvector.cpp b/test/stdvector.cpp
index be9fc275b..78e65e927 100644
--- a/test/stdvector.cpp
+++ b/test/stdvector.cpp
@@ -43,7 +43,7 @@ void check_stdvector_matrix(const MatrixType& m)
}
v.resize(21);
- v[20].set(x);
+ v[20] = x;
VERIFY_IS_APPROX(v[20], x);
v.resize(22,y);
VERIFY_IS_APPROX(v[21], y);