Finalizing builders with multiple translational symmetries doesn't work on Kwant 1.4.2
Hi,
I have Kwant 1.4.2 installed as a Conda package on Linux Mint 20. If I run the code
sym = kwant.TranslationalSymmetry((1, 0), (0, 1))
sys = kwant.Builder(sym)
sys.finalized()
I get the error message
---------------------------------------------------------------------------
ValueError Traceback (most recent call last)
<ipython-input-18-e8063ea9e025> in <module>
1 sym = kwant.TranslationalSymmetry((1, 0), (0, 1))
2 sys = kwant.Builder(sym)
----> 3 sys.finalized()
~/anaconda3/lib/python3.8/site-packages/kwant/builder.py in finalized(self)
1792 return InfiniteSystem(self)
1793 else:
-> 1794 raise ValueError('Currently, only builders without or with a 1D '
1795 'translational symmetry can be finalized.')
1796
ValueError: Currently, only builders without or with a 1D translational symmetry can be finalized.
My understanding was that this has been supported since Kwant 1.3. Do I misunderstand something, or is this a bug?
Thank you for your help.