Ignore:
Timestamp:
Oct 27, 2009, 4:11:22 PM (16 years ago)
Author:
Frederik Heber <heber@…>
Children:
069034
Parents:
55a71b
Message:

Huge refactoring to make const what is const (ticket #38), continued.

  • too many changes because of too many cross-references to be able to list them up here.
  • NOTE that "make check" runs fine and did catch several error.
  • note that we had to use const_iterator several times when the map, ... was declared const.
  • at times we changed an allocated LinkedCell LCList(...) into

const LinkedCell *LCList;
LCList = new LinkedCell(...);

  • also mutable (see ticket #5) was used, e.g. for molecule::InternalPointer (PointCloud changes are allowed, because they are just accounting).

Signed-off-by: Frederik Heber <heber@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • molecuilder/src/leastsquaremin.hpp

    r55a71b ra9b2a0a  
    3131 */
    3232struct LSQ_params {
    33   Vector **vectors;
     33  const Vector **vectors;
    3434  int num;
    3535};
    3636
    37 double LSQ(const gsl_vector * x, void * params);
     37double LSQ(const gsl_vector * const x, void * params);
    3838
    3939/** Parameter structure for least square minimsation.
Note: See TracChangeset for help on using the changeset viewer.