help-octave
[Top][All Lists]
Advanced

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

Re: out of memory or dimension too large for Octave's index type


From: Markus Mützel
Subject: Re: out of memory or dimension too large for Octave's index type
Date: Wed, 26 Oct 2022 21:14:09 +0200

Am 26. Oktober 2022 um 17:03 Uhr schrieb "Jiang, Yanda [E CPE]":
>
> H(:, noslack) = sparse(Bf(:, noref)) / sparse(Bbus(noslack, noref));
> 
> 
> still gave me the error message as following:
> 
> debug> H(:, noslack) = sparse(Bf(:, noref)) / sparse(Bbus(noslack, noref));
> error: out of memory or dimension too large for Octave's index type
> error: called from
>     makePTDF at line 76 column 15
> 
> 
> Does that mean the problem is not related to index type?
 
I don't know which exact problem you'd like to solve. But sometimes it helps to 
re-formulate the problem and use the backslash operator `\` instead of the 
slash operator `/`.
See also: `doc mldivide`

Markus




reply via email to

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