Skip to content

Commit

Permalink
fixed bug in map planet
Browse files Browse the repository at this point in the history
  • Loading branch information
tomlouden committed Jul 27, 2016
1 parent aff09d0 commit d309998
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion c_src/generate.c
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ void map_model(double **planet,int n_layers,double xi, double T_n, double delta_
double *old_coords = cart_to_ortho(R, 0, 0, lambda0, phi0);

double la = old_coords[1];
double lo = old_coords[0];
double lo = -1*old_coords[0];
free(old_coords);

point_T = zhang_2016(la,lo,xi,T_n,delta_T);
Expand Down

0 comments on commit d309998

Please sign in to comment.