numericalEFT / GreenFunc.jl

Toolbox to study quantum many-body problem at the treelevel
https://numericaleft.github.io/GreenFunc.jl/
MIT License
11 stars 1 forks source link

type instability #96

Closed kunyuan closed 1 year ago

kunyuan commented 1 year ago

https://github.com/numericalEFT/GreenFunc.jl/blob/eed3560c60426cdb2a8d1b4f5e73075304c59df0/src/mesharrays/dense.jl#L95 (v for v in [...]) returns a generator. But here we want a tuple. So use Tuple(v for v in [...]) instead.

After created, we can report a warning message if isconcretetype(typeof(mesh)) returns false