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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ipa/libipa/pwl.h b/src/ipa/libipa/pwl.h
index 8fdc7053..c1496c30 100644
--- a/src/ipa/libipa/pwl.h
+++ b/src/ipa/libipa/pwl.h
@@ -49,6 +49,7 @@ public:
void append(double x, double y, double eps = 1e-6);
bool empty() const { return points_.empty(); }
+ void clear() { points_.clear(); }
size_t size() const { return points_.size(); }
Interval domain() const;