Skip to content

Commit 0804b91

Browse files
committed
Fix - support standard log function in TF1/TF2
1 parent 6337a3d commit 0804b91

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

modules/hist/TF1Painter.mjs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ function proivdeEvalPar(obj) {
5151
.replace(/\b(cos)\b/gi, 'Math.cos')
5252
.replace(/\b(tan)\b/gi, 'Math.tan')
5353
.replace(/\b(exp)\b/gi, 'Math.exp')
54+
.replace(/\b(log)\b/gi, 'Math.log')
5455
.replace(/\b(log10)\b/gi, 'Math.log10')
5556
.replace(/\b(pow)\b/gi, 'Math.pow')
5657
.replace(/pi/g, 'Math.PI');

0 commit comments

Comments
 (0)