From 63e74fc404d649c69416b2a81ca348bbcfe75400 Mon Sep 17 00:00:00 2001 From: Richard Kreckel Date: Sat, 6 Feb 2016 12:53:14 +0100 Subject: [PATCH] Fix a comment. --- ginac/normal.cpp | 2 +- ginac/ptr.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ginac/normal.cpp b/ginac/normal.cpp index d7570fd5..81841e0f 100644 --- a/ginac/normal.cpp +++ b/ginac/normal.cpp @@ -297,7 +297,7 @@ static ex multiply_lcm(const ex &e, const numeric &lcm) return dynallocate(v); } else if (is_exactly_a(e)) { if (!is_a(e.op(0))) { - // (b^e)*lcm -> (b*lcm^(1/e))^e if lcm^(1/e) ∈ ℝ (i.e. not a float) + // (b^e)*lcm -> (b*lcm^(1/e))^e if lcm^(1/e) ∈ ℚ (i.e. not a float) // but not for symbolic b, as evaluation would undo this again numeric root_of_lcm = lcm.power(ex_to(e.op(1)).inverse()); if (root_of_lcm.is_rational()) diff --git a/ginac/ptr.h b/ginac/ptr.h index b7736c7c..9d76bfee 100644 --- a/ginac/ptr.h +++ b/ginac/ptr.h @@ -61,7 +61,7 @@ template class ptr { // and makewritable() requires locking. public: - // no default ctor: a ptr is never unbound + // no default ctor: a ptr is never unbound /** Bind ptr to newly created object, start reference counting. */ ptr(T *t) noexcept : p(t) { GINAC_ASSERT(p); p->set_refcount(1); } -- 2.44.0