Thanks @andreasnoack. Indeed, according to the CHOLMOD user manual it should not allocate once the workspace Yref
and Eref
have been initialised on first call. I believe there are functions in the library to return the number of allocations performed, so I will see if I narrow this down further by this route.