mirror of https://github.com/CGAL/cgal
Remove some unnecessary dereferencing.
This commit is contained in:
parent
f0c8298657
commit
2a0eac67f0
|
|
@ -665,11 +665,13 @@ template <class R_> struct Construct_circumcenter : Store_kernel<R_> {
|
|||
Vec b(k);
|
||||
Vec l(k);
|
||||
int j,i=0;
|
||||
// We are doing a quadratic number of *f, which can be costly with transforming_iterator.
|
||||
for(Iter f2=f;f2!=e;++f2,++i){
|
||||
b(i)=m(i,i)=sdo(*f2);
|
||||
Point const& p2=*f2;
|
||||
b(i)=m(i,i)=sdo(p2);
|
||||
j=0;
|
||||
for(Iter f3=f;f3!=e;++f3,++j){
|
||||
m(j,i)=m(i,j)=sp(*f2,*f3);
|
||||
m(j,i)=m(i,j)=sp(p2,*f3);
|
||||
}
|
||||
}
|
||||
for(i=1;i<k;++i){
|
||||
|
|
|
|||
Loading…
Reference in New Issue