Skip to content

Commit

Permalink
Minor formatting improvements
Browse files Browse the repository at this point in the history
Signed-off-by: Rodrigo Tobar <rtobar@icrar.org>
  • Loading branch information
rtobar committed Jul 11, 2019
1 parent af8c045 commit ee674ec
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions src/radial.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -237,8 +237,8 @@ void RadialProfile::subsampling_params(double /*x*/, double /*y*/,
* The main profile evaluation function
*/
void RadialProfile::evaluate(Image &image, const Mask &mask, const PixelScale &scale,
const Point &offset, double magzero) {

const Point &offset, double magzero)
{
this->magzero = magzero;

/*
Expand Down Expand Up @@ -288,8 +288,8 @@ void RadialProfile::evaluate(Image &image, const Mask &mask, const PixelScale &s

}

void RadialProfile::evaluate_cpu(Image &image, const Mask &mask, const PixelScale &scale) {

void RadialProfile::evaluate_cpu(Image &image, const Mask &mask, const PixelScale &scale)
{
double half_xbin = scale.first/2.;
double half_ybin = scale.second/2.;

Expand Down
4 changes: 2 additions & 2 deletions src/sersic.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -223,8 +223,8 @@ void SersicProfile::init_eval_function() {
}

void SersicProfile::evaluate(Image &image, const Mask &mask, const PixelScale &scale,
const Point &offset, double magzero) {

const Point &offset, double magzero)
{
// inv_exponent is exactly what is yield by the templated _invexp function
// later on during each individual evaluation
// We need to calculate it here though to decide which template to choose
Expand Down
4 changes: 2 additions & 2 deletions src/sky.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ void SkyProfile::adjust_for_finesampling(unsigned int finesampling)
}

void SkyProfile::evaluate(Image &image, const Mask &mask, const PixelScale & /*scale*/,
const Point &/*offset*/, double /*magzero*/) {

const Point &/*offset*/, double /*magzero*/)
{
/* In case we need to mask some pixels out */
auto mask_it = mask.begin();

Expand Down

0 comments on commit ee674ec

Please sign in to comment.