aboutsummaryrefslogtreecommitdiffstats
path: root/meowpp/math/Vector.h
diff options
context:
space:
mode:
Diffstat (limited to 'meowpp/math/Vector.h')
-rw-r--r--meowpp/math/Vector.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/meowpp/math/Vector.h b/meowpp/math/Vector.h
index 4dd95a5..f72b043 100644
--- a/meowpp/math/Vector.h
+++ b/meowpp/math/Vector.h
@@ -134,7 +134,7 @@ public:
*/
Scalar scalar(size_t i, Scalar const& s) {
matrix_.entry(i, 0, s);
- return entry(i);
+ return scalar(i);
}
//! @brief return \a i -th scalar with non-constant type
@@ -223,7 +223,7 @@ public:
//! @brief same as entry(i)
Scalar operator()(size_t i) const {
- return entry(i);
+ return scalar(i);
}
//! @brief same as positive()