cp2k: fix lmax variant to use tuple (#19780)

* cp2k: fix lmax variant to use tuple

discovered during testing #19501

@dev-zero

* retain conversion to string
This commit is contained in:
Andrew W Elble 2020-11-06 21:58:38 -05:00 committed by GitHub
parent ef9b8da282
commit dcf3d8332a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -70,7 +70,7 @@ class Cp2k(MakefilePackage, CudaPackage):
variant('lmax',
description='Maximum supported angular momentum (HFX and others)',
default='5',
values=map(str, HFX_LMAX_RANGE),
values=tuple(map(str, HFX_LMAX_RANGE)),
multi=False)
depends_on('python', type='build')