Dear Andrew,
Apologies for the late response. On Thu, Jul 07, 2022 at 11:51:47AM +0000, Schlager, Andreas wrote: > After updating to Debian 11, the armadillo library for C++ doesn’t work > properly anymore (e.g. matrix inversions deliver obviously wrong results), > as can be seen in the example code and results attached. > > Short note about the problem: Assume you have a square matrix B, then > B*inv(B) should yield the unit matrix. In armadillo this worked without > problems until the update to Debian 11. Now I get a completely random > result for B*inv(B). The larger the dimension of B the more severe the > problem is. There might be a numerical issue that didn’t exist in older > Debian versions. > > > > According to the Armadillo-team, this is not a problem of Armadillo itself > but might be the problem of the versions of libopenblas, liblapack or > libblas used by Debian 11. > > One of these libraries might be corrupt or incompatible with Debian 11. In my current installation, I do not have this problem, with libblas3 and liblapack3 version 3.10.1-2. Can you please let me know whether you still have this issue with your current installation? Thanks. Kumar