Skip to content

Commit

Permalink
Merge branch 'LK_branch' of https://github.com/lkreidberg/SPIDERMAN
Browse files Browse the repository at this point in the history
  • Loading branch information
tomlouden committed Aug 21, 2016
2 parents f36b4ac + 6eb6043 commit 8ba3f42
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion c_src/web.c
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
#include "blackbody.h"
#include "web.h"
#include <stdlib.h>
#include <stdlib.h>
#include <stdio.h>

double *lightcurve(int n_layers, int n_points, double *t, double tc, double per, double a, double inc, double ecc, double omega, double a_rs, double rp,double u1, double u2,int brightness_model,double *brightness_params){
Expand Down Expand Up @@ -67,6 +68,8 @@ double *lightcurve(int n_layers, int n_points, double *t, double tc, double per,

double *coords = separation_of_centers(t[n]-phase_dt,tc,per,a,inc,ecc,omega,a_rs,r2);

double *coords = separation_of_centers(t[n]-phase_dt,tc,per,a,inc,ecc,omega,a_rs,r2);

map_model(planet,n_layers,lambda0,phi0,u1,u2,brightness_model,brightness_params);

p_bright = 0.0;
Expand Down Expand Up @@ -148,4 +151,4 @@ double *call_blocked(int n_layers, int n_points, double *x2, double *y2, double
free(planet);

return output;
}
}

0 comments on commit 8ba3f42

Please sign in to comment.