catch warning in test_vasp_input
tweaks to linear assignment