#5 closed request (fixed)
Does this view work properly
Reported by: | Jari Häkkinen | Owned by: | Jari Häkkinen |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | gslapi | Version: | trunk |
Keywords: | Cc: |
Description
Check what happens with
const gslapi::vector get_eigenvector( const size_t& i ) const {
return gslapi::vector(eigenvectors_,i);
}
Does the copy do what we expect?
Jari
Change History (4)
comment:1 Changed 18 years ago by
Status: | new → assigned |
---|
comment:2 Changed 18 years ago by
comment:3 Changed 18 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note: See
TracTickets for help on using
tickets.
The function returns a view (as checked in test/matrix_test.cc) even though the apparent copying in the test code. However, there is a unresolved constness problem that is reported as ticket #17.