epfl-lts2 / pygsp

Graph Signal Processing in Python
https://pygsp.rtfd.io
BSD 3-Clause "New" or "Revised" License
483 stars 93 forks source link

Index chebyshev and jackson coefs by integers. Fixes #39 #40

Closed scottgigante closed 5 years ago

coveralls commented 5 years ago

Coverage Status

Coverage remained the same at 86.281% when pulling 5fb889eace9a779cd2e30a477d4806a7dd074ade on scottgigante:bugfix/jackson_cheby into 8cb05ecf5145c7f5cfa4795e6be812e084f57466 on epfl-lts2:master.

mdeff commented 5 years ago

Thanks for the fix! Wouldn't a more elegant solution be to initialize with ch = np.empty(m+1) and iterate with for i in range(1, len(ch))?

scottgigante commented 5 years ago

You're right, it would. I'll do that instead.

mdeff commented 5 years ago

Thanks!