| 386 | // type T can be CompMatr, DiagMatr or FullStateDiagMatr |
| 387 | template <class T> |
| 388 | void validateAndDestroyMatrix(T matrix, const char* caller) { |
| 389 | validate_matrixFields(matrix, caller); |
| 390 | |
| 391 | freeHeapMatrix(matrix); |
| 392 | } |
| 393 | |
| 394 | |
| 395 | // de-mangled for C++ and C compatibility |
no test coverage detected