Skip to content

Commit 3133938

Browse files
committed
refactor: use formatted string and fix wrong documentation comment
--- type: pre_commit_static_analysis_report description: Results of running static analysis checks when committing changes. report: - task: lint_filenames status: passed - task: lint_editorconfig status: passed - task: lint_markdown status: na - task: lint_package_json status: na - task: lint_repl_help status: na - task: lint_javascript_src status: na - task: lint_javascript_cli status: na - task: lint_javascript_examples status: na - task: lint_javascript_tests status: na - task: lint_javascript_benchmarks status: passed - task: lint_python status: na - task: lint_r status: na - task: lint_c_src status: missing_dependencies - task: lint_c_examples status: na - task: lint_c_benchmarks status: na - task: lint_c_tests_fixtures status: na - task: lint_shell status: na - task: lint_typescript_declarations status: passed - task: lint_typescript_tests status: na - task: lint_license_headers status: passed ---
1 parent e282185 commit 3133938

File tree

2 files changed

+3
-2
lines changed
  • lib/node_modules/@stdlib/stats/base/dists/lognormal/quantile

2 files changed

+3
-2
lines changed

lib/node_modules/@stdlib/stats/base/dists/lognormal/quantile/benchmark/benchmark.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ var bench = require( '@stdlib/bench' );
2424
var uniform = require( '@stdlib/random/array/uniform' );
2525
var isnan = require( '@stdlib/math/base/assert/is-nan' );
2626
var EPS = require( '@stdlib/constants/float64/eps' );
27+
var format = require( '@stdlib/string/format' );
2728
var pkg = require( './../package.json' ).name;
2829
var quantile = require( './../lib' );
2930

@@ -60,7 +61,7 @@ bench( pkg, function benchmark( b ) {
6061
b.end();
6162
});
6263

63-
bench( pkg+':factory', function benchmark( b ) {
64+
bench( format( '%s:factory', pkg ), function benchmark( b ) {
6465
var myquantile;
6566
var sigma;
6667
var opts;

lib/node_modules/@stdlib/stats/base/dists/lognormal/quantile/src/main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
* @param p probability
2929
* @param mu location parameter
3030
* @param sigma scale parameter
31-
* @return evaluated PDF
31+
* @return evaluated quantile function
3232
*
3333
* @example
3434
* double y = stdlib_base_dists_lognormal_quantile( 0.8, 0.0, 1.0 );

0 commit comments

Comments
 (0)