| 185 | } |
| 186 | |
| 187 | void destroyCachedFullStateDiagMatrs() { |
| 188 | |
| 189 | // must not be called twice |
| 190 | DEMAND( !matrices.empty() ); |
| 191 | |
| 192 | for (auto& [label, matrix]: matrices) |
| 193 | destroyFullStateDiagMatr(matrix); |
| 194 | |
| 195 | matrices.clear(); |
| 196 | } |
| 197 | |
| 198 | matrixCache getCachedFullStateDiagMatrs() { |
| 199 |
no test coverage detected