We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d6f810d commit d2b4816Copy full SHA for d2b4816
src/gsdLight.js
@@ -1,6 +1,6 @@
1
2
function gsdLight(x, y, options){
3
- var options=options || {};
+ var options=Object.create(options || {});
4
if (options.minMaxRatio===undefined) options.minMaxRatio=0.00025;
5
if (options.noiseLevel===undefined) options.noiseLevel=0;
6
if (options.maxCriteria===undefined) options.maxCriteria=true;
src/index.js
@@ -10,7 +10,7 @@ options:
10
*/
11
12
function gsd(x, y, options){
13
14
15
if (options.broadRatio===undefined) options.broadRatio=0.0025;
16
0 commit comments