Closed mykelk closed 4 years ago
Were you expecting D to be a view of L? The current behavior is to make a copy, but I think some version long ago it acted like a view
(Sent from phone)
On Fri, May 8, 2020, 22:05 Mykel Kochenderfer notifications@github.com wrote:
Alg. 8.2 seems to have an issue with the construction of D. There seems to be some no-ops going on here:
D = L[randperm(n),:] D = L[:,randperm(n)]
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/sisl/algforopt-errata/issues/33, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABALI23IIDCYXPV44TCYOETRQTJA5ANCNFSM4M4UAVKQ .
Even so, shouldn't the second line have a D on the right hand side?
Right. That's an easy fix.
Alg. 8.2 seems to have an issue with the construction of D. There seems to be some no-ops going on here: