epfl-lts2 / gspbox

Graph Signal Processing in Matlab
https://epfl-lts2.github.io/gspbox-html/
GNU General Public License v3.0
136 stars 56 forks source link

Errors in gsp_nn_hypergraph.m file #16

Open zzbb9944 opened 11 months ago

zzbb9944 commented 11 months ago

In line 86 of the gsp_nn_hypergraph.m file, this line of code should be G.W (edge, ii)=sqrt(sum(w((1:k)+(ii-1)*k))), instead of G.W (edge, ii)=sqrt (sum (w (edge)).