mirror of
https://github.com/triqs/dft_tools
synced 2024-12-22 20:34:38 +01:00
Use nda over TRIQS_RUNTIME_ERROR in dos_tetra3d
This commit is contained in:
parent
3648fd74e8
commit
b69baf140e
@ -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];
|
||||
|
Loading…
Reference in New Issue
Block a user