Hi

Sorry for the late reply

tir, 24 02 2009 kl. 16:32 -0500, skrev Rosen Diankov:
> bwselect calling conventions are:
>  [IMOUT, IDX] = bwselect(IM, COLS, ROWS, CONNECT)
> 
> and bwfill calling conventions are:
>  [BW2, IDX] = bwfill(BW1, R, C, N)
> 
> Notice how the columns and rows are flipped. This is a *big* problem
> because bwselect happily calls bwfill with inputting its columns
> before rows. This causes octave to crash with memory corruption.

Could you provide an example where Octave crashes? That would make it
easier for me to debug.

> Another problem is possible compatibility issues with matlab because
> matlab's bwfill function is
>  [BW2, IDX] = bwfill(BW1, C, R, N)

I've changed the calling conventions to match Matlab.

Thanks
Søren


------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Octave-dev mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/octave-dev

Reply via email to