You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
and has higher precedence than or but unless I'm mistaken we actually want to evaluate the or first. The thing that throws me off is why this wasn't caught before.
if (
self.user_incar_settings.get("KSPACING") orself._config_dict["INCAR"].get("KSPACING")
) andself.user_kpoints_settings== {}:
The text was updated successfully, but these errors were encountered:
@shyuep I think there's a subtle operator precedence bug here:
pymatgen/pymatgen/io/vasp/sets.py
Lines 633 to 638 in ed66c97
and
has higher precedence thanor
but unless I'm mistaken we actually want to evaluate theor
first. The thing that throws me off is why this wasn't caught before.The text was updated successfully, but these errors were encountered: