A bug in/@FLOWobj/drainagebasins.m was introduced in the 4/3/2016 changes. It provoked a "Subscripted assignment dimension mismatch" error when using drainagebasins(FD) (i.e. with nargin=1).
According to a git diff with the former version, there was a simple variable indexing error which is now corrected.
This fixes usage of the
drainagebasins
function.A bug in
/@FLOWobj/drainagebasins.m
was introduced in the 4/3/2016 changes. It provoked a "Subscripted assignment dimension mismatch" error when usingdrainagebasins(FD)
(i.e. withnargin=1
). According to a git diff with the former version, there was a simple variable indexing error which is now corrected.N.B. I tested the function using 2015a.