summaryrefslogtreecommitdiff
path: root/src/ipa/libipa/pwl.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ipa/libipa/pwl.h')
-rw-r--r--src/ipa/libipa/pwl.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ipa/libipa/pwl.h b/src/ipa/libipa/pwl.h
index b4de00cf..02834231 100644
--- a/src/ipa/libipa/pwl.h
+++ b/src/ipa/libipa/pwl.h
@@ -52,6 +52,8 @@ public:
void append(double x, double y, double eps = 1e-6);
bool empty() const { return points_.empty(); }
+ size_t size() const { return points_.size(); }
+
Interval domain() const;
Interval range() const;