where-is-paul / matrix-factor

Code for providing incomplete factorizations of symmetric indefinite matrices.
MIT License
10 stars 8 forks source link

Important work done within assert statement. #1

Closed PetterS closed 11 years ago

PetterS commented 11 years ago

See solver.h:51 https://github.com/inutard/matrix-factor/blob/master/source/solver.h#L51

This line will not work in release mode on my compiler. The compiler simply removes all asserts, completely ignoring the load command.

Solution:

auto result = A.load(filename); assert(result);

where-is-paul commented 11 years ago

Thanks, Petter!