[GiNaC-devel] [SCM] GiNaC -- a C++ library for symbolic computations branch, master, updated. release_1-4-0-753-g4fd71704
Richard B. Kreckel
git at ginac.de
Thu Dec 22 18:33:31 CET 2022
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GiNaC -- a C++ library for symbolic computations".
The branch, master has been updated
via 4fd717045b56a15ee8602dfd005d7362db738d0a (commit)
from 35a742a26893a534ddf1e51bd6d08f09dc927c43 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 4fd717045b56a15ee8602dfd005d7362db738d0a
Author: Richard Kreckel <kreckel at ginac.de>
Date: Thu Dec 22 18:19:59 2022 +0100
Fix internal next_prime(n) function.
This helper function was doing wild things when called the wrong way.
E.g. it would allocate obscene amounts of memory and run for ages when
called with an argument that has never been returned by it before.
In the context where it's being used so far this is not a problem. But
it's better to make it foolproof and spare a new user some possible
despair and distress.
-----------------------------------------------------------------------
Summary of changes:
ginac/factor.cpp | 40 +++++++++++++++++-----------------------
1 file changed, 17 insertions(+), 23 deletions(-)
hooks/post-receive
--
GiNaC -- a C++ library for symbolic computations
More information about the GiNaC-devel
mailing list