3
0
mirror of https://github.com/triqs/dft_tools synced 2024-06-29 00:15:00 +02:00

Use nda over TRIQS_RUNTIME_ERROR in dos_tetra3d

This commit is contained in:
Nils Wentzell 2021-05-25 16:53:52 -04:00
parent 3648fd74e8
commit b69baf140e

View File

@ -81,7 +81,7 @@ array<double, 2> dos_tetra_weights_3d(array<double, 1> eigk, double en, array<lo
if (itt.shape()[0] != NUM_TET_CORNERS + 1)
{
TRIQS_RUNTIME_ERROR << " The first dimension of 'itt' must be equal to 5";
NDA_RUNTIME_ERROR << " The first dimension of 'itt' must be equal to 5";
}
ntet = itt.shape()[1];