Mercurial > hg > kwantix
changeset 57:3b19e979df45
Trivial syntax change
author | Jordi Gutiérrez Hermoso <jordigh@gmail.com> |
---|---|
date | Thu, 29 Apr 2010 06:42:41 -0500 |
parents | 239ae45e615d |
children | 11395e64852f |
files | src/interp_values.cpp |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/interp_values.cpp +++ b/src/interp_values.cpp @@ -136,7 +136,7 @@ size_t i = 1; shared_ptr<matrix> N_temp(new matrix(rows,cols)); for(auto I = normals_in.begin(); I != normals_in.end(); I++){ - N_temp -> operator()(i,s) = (I->second)/(norm(I->second)); + (*N_temp)(i,s) = (I->second)/(norm(I->second)); i++; } N = N_temp; @@ -145,7 +145,7 @@ bdry_values normals::operator()(size_t k) const { slice s(1,N -> rows()); - return bdry_values(N -> operator()(s,k),rbfs_hash,n,m); + return bdry_values( (*N)(s,k),rbfs_hash,n,m); } bool normals::operator==(const normals& M) const