help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Return std::complex<float> as octave_value from oct.


From: Mike Miller
Subject: Re: Return std::complex<float> as octave_value from oct.
Date: Mon, 18 Jul 2016 09:27:38 -0700
User-agent: Mutt/1.6.0 (2016-04-01)

Please try to use bottom posting on this list, like so.

On Mon, Jul 18, 2016 at 17:14:41 +0100, Zoltán Szabó wrote:
> Hi,
> 
> So I could do this with FloatComplex but here is a strange one. For small
> arrays, everything is fine, but if I create a huge array, I get
> segmentation fault:
> 
> Like with this size, exactly when it executes this line:
> FloatComplex fcomplex[1329456];
> 
> Any idea what I can check?

You are probably exceeding your stack size limit here. That array size
of complex floats is greater than 10 MiB. On my system the default stack
size limit is 8 MiB.

-- 
mike



reply via email to

[Prev in Thread] Current Thread [Next in Thread]