Skip to content

Conversation

yaisog
Copy link
Contributor

@yaisog yaisog commented Oct 11, 2025

As described in #9335, these math operators are changed to output an empty list when the input list is empty:
sum[] - currently returns 0
product[] - currently returns 1
maxall[] - currently returns -Infinity
minall[] - currently returns Infinity
average[] - currently returns NaN
variance[] - currently returns NaN
standard-deviation[] - currently returns NaN

Due to a minor break with backward compatibility, this should be targeted for v5.4

  • Adapt tests

Copy link

netlify bot commented Oct 11, 2025

Deploy Preview for tiddlywiki-previews ready!

Name Link
🔨 Latest commit 0b20b7e
🔍 Latest deploy log https://app.netlify.com/projects/tiddlywiki-previews/deploys/68ea688e6f2fc70008c24438
😎 Deploy Preview https://deploy-preview-9337--tiddlywiki-previews.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Copy link

Confirmed: yaisog has already signed the Contributor License Agreement (see contributing.md)

Copy link

github-actions bot commented Oct 11, 2025

📊 Build Size Comparison: empty.html

Branch Size
Base (master) 2421.1 KB
PR 2421.3 KB

Diff: ⬆️ Increase: +0.1 KB

@yaisog yaisog marked this pull request as draft October 11, 2025 14:12
@yaisog yaisog marked this pull request as ready for review October 11, 2025 14:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant