mirror of
https://github.com/triqs/dft_tools
synced 2024-11-01 03:33:50 +01:00
Prettification.
This commit is contained in:
parent
bd7c8abd75
commit
5df128aab4
@ -53,7 +53,7 @@ namespace params {
|
|||||||
|
|
||||||
_field& parameters::operator[](const char * key) {
|
_field& parameters::operator[](const char * key) {
|
||||||
auto it = find(key);
|
auto it = find(key);
|
||||||
if (it == _data.end()) TRIQS_RUNTIME_ERROR << "Parameters : the key : " << key << " does not exists";
|
if (it == _data.end()) TRIQS_RUNTIME_ERROR << "Parameters : the key : " << key << " does not exist.";
|
||||||
return it->f;
|
return it->f;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user