summaryrefslogtreecommitdiff
path: root/Build/source/utils/asymptote/path.cc
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/utils/asymptote/path.cc')
-rw-r--r--Build/source/utils/asymptote/path.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/Build/source/utils/asymptote/path.cc b/Build/source/utils/asymptote/path.cc
index eb5c57ad2d0..642812e0b67 100644
--- a/Build/source/utils/asymptote/path.cc
+++ b/Build/source/utils/asymptote/path.cc
@@ -28,9 +28,11 @@ const double third=1.0/3.0;
path nullpath;
+const char *nopoints="nullpath has no points";
+
void checkEmpty(Int n) {
if(n == 0)
- reportError("nullpath has no points");
+ reportError(nopoints);
}
// Accurate computation of sqrt(1+x)-1.