Skip to content

Commit 1f90b73

Browse files
committed
adjust exp
1 parent fa08c64 commit 1f90b73

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/LogVarTrick.svelte

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
<line x1={logVarVectorX + 30} y1={$node2MidY} x2={firstExpX} y2={$node2MidY} {...outConnectStroke} opacity={ho($hoveringlogVarTrick || $hoveringInput)}/>
4343

4444
<!-- e^{0,5*log(var)} -->
45-
<TwoFunc x={firstExpX} y={firstExpY} f={halfExp} domain={[-10, 0]} range={[-0.1, 1]} inputs={logVar} color="lightseagreen" colorTex="grey" tex={String.raw`e^{\frac{1}{2}{\color{seagreen} \log(\sigma^2)}}`} shiftTex={-25} opacity={ho($hoveringlogVarTrick || $hoveringInput)}/>
45+
<TwoFunc x={firstExpX} y={firstExpY} f={halfExp} domain={[-10, Math.log(0.5)]} range={[-0.05, 0.5]} inputs={logVar} color="lightseagreen" colorTex="grey" tex={String.raw`e^{\frac{1}{2}{\color{seagreen} \log(\sigma^2)}}`} shiftTex={-25} opacity={ho($hoveringlogVarTrick || $hoveringInput)}/>
4646

4747
<line x1={firstExpX + expSquare} y1={$node1MidY} x2={vectorX} y2={$node1MidY} {...outConnectStroke} opacity={ho($hoveringlogVarTrick || $hoveringInput)}/>
4848
<line x1={firstExpX + expSquare} y1={$node2MidY} x2={vectorX} y2={$node2MidY} {...outConnectStroke} opacity={ho($hoveringlogVarTrick || $hoveringInput)}/>

0 commit comments

Comments
 (0)