rwl / PYPOWER

Port of MATPOWER to Python
http://rwl.github.io/PYPOWER/api/
Other
329 stars 110 forks source link

float argument required, not numpy.ndarray #30

Open jesseholzerpnnl opened 8 years ago

jesseholzerpnnl commented 8 years ago

It looks like you've caught a few of these before, so here's another one. In printpf, replace

 gen(i, [PMIN, PG, PMAX]])

with

 tuple(gen(i, [PMIN, PG, PMAX]]))