crash on __gmpz_init

2024-01-22 Thread igor pesando - Dept of Physics, University of Torino
Hi *, first of all thanks for your work. The programs are attached as required. Best regards Igor Pesando * The issue I have is that the allocation in of a matrix in c++ crashes the program with SEGFAULT if the dimension are

Re: crash on __gmpz_init

2024-01-22 Thread igor pesando - Dept of Physics, University of Torino
. Very large arrays need to be allocated on the heap in C++ (new, malloc, or some wrapper like std::vector). On Mon, 22 Jan 2024, igor pesando - Dept of Physics, University of Torino wrote: Hi *, first of all thanks for your work. The programs are attached as required. Best regards Igor