diff options
Diffstat (limited to 'MuscleEMGProfile.h')
-rw-r--r-- | MuscleEMGProfile.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/MuscleEMGProfile.h b/MuscleEMGProfile.h index 2d31f27..2783b26 100644 --- a/MuscleEMGProfile.h +++ b/MuscleEMGProfile.h @@ -26,7 +26,7 @@ public: } unsigned getIdx() { return _x.size(); } - unsigned getCapacity() { return _x.max_size(); } + unsigned getCapacity() { return _x.capacity(); } const std::string &getName() { return _name; } void addData(double x, double y); |