Skip to content

Commit

Permalink
use lodash extend instead of merge in baseParams
Browse files Browse the repository at this point in the history
  • Loading branch information
Jordan Stephens committed Feb 18, 2015
1 parent a18d368 commit aba7d5c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/param-helper.js
Expand Up @@ -129,7 +129,7 @@ function baseParams(params) {
params.mu = constants.MU;
params.bodyRadius = constants.EARTH_RADIUS;

return ld.merge(DEFAULT_PARAMS, params);
return ld.extend({}, DEFAULT_PARAMS, params);
}

function angularMomentumFromSemilatusRectum(semilatusRectum) {
Expand Down

0 comments on commit aba7d5c

Please sign in to comment.