octave-maintainers
[Top][All Lists]
Advanced

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

Re: [PATCH] Fix conversion from PermMatrix to SparseMatrix.


From: John W. Eaton
Subject: Re: [PATCH] Fix conversion from PermMatrix to SparseMatrix.
Date: Tue, 10 Mar 2009 16:18:38 -0400

On 10-Mar-2009, Jason Riedy wrote:

| And John W. Eaton writes:
| > But then it failed.  Running it by hand:
| [...]
| > octave:6>  assert (all (find (sP) (:, 3) == 1));
| > error: A(I): Index exceeds matrix dimension.
| >
| > I omitted the last assert.  What is the intent of that test?
| 
| Sorry, I mixed up the versions.  The intent was to test that all
| explicit entries are 1, so the version that passed before I sent it had
| the following instead of that line:
| 
| %!  [I, J, V] = find (sP);
| %!  assert (all (V == 1));

I added it.  Thanks.

| (Anyone know a decent reference for using in-tree Mercurial branches?)

I don't know of a reference, but I didn't find having multiple
branches in a single archive to be very useful for my purposes.
The biggest problem for me was that switching from one branch to
another would touch lots of files and then trigger massive
recompilation, even with separate build trees.  So it seemed better to
me to use separate archives for separate branches.

But what do you want the multiple branches for?  If it is managing
pending patches, then I think MQ is better for doing that.

jwe


reply via email to

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