Skip to content

fix infinite loop due to comparing dates incorrectly (fix #55) #58

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 23, 2025

Conversation

jamesscottbrown
Copy link
Contributor

@jamesscottbrown jamesscottbrown commented May 23, 2025

If the data included dates, then the array1[i][channel] !== array2[i][channel] check would fail due to prevResolvedData and resolvedData containing the same value in different Date objects. This led to an infinite effect loop.

This broke one of the examples of applying an Interval transform to dates (#55).

Copy link

netlify bot commented May 23, 2025

Deploy Preview for svelteplot ready!

Name Link
🔨 Latest commit 3a262ca
🔍 Latest deploy log https://app.netlify.com/projects/svelteplot/deploys/68304eabfaca6b000846950a
😎 Deploy Preview https://deploy-preview-58--svelteplot.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
Contributor

@gka gka left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ah, makes sense. thanks!

@gka gka merged commit 6d1d41a into svelteplot:main May 23, 2025
5 checks passed
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.

2 participants
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy