Skip to content
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

Make colorMin an optional argument #1

Merged
merged 1 commit into from
Jan 12, 2023
Merged

Make colorMin an optional argument #1

merged 1 commit into from
Jan 12, 2023

Conversation

ekzhang
Copy link
Contributor

@ekzhang ekzhang commented Dec 25, 2022

Hi, thanks for writing this library! I saw it on Twitter and was super excited. You inspired me to go on a textbook-reading day with my friend about the Navier-Stokes equations a couple weeks ago.

Anyway I was trying to use the library and caught a small bug.


When running the example program in the README in TypeScript, I got type-checking errors because it said colorMin was required in renderAmplitudeProgram.

This change corrects the type definition to make colorMin optional.

When running the example program in the README in TypeScript, I got type-checking errors because it said `colorMin` was required in `renderAmplitudeProgram`.

This change corrects the type definition to make `colorMin` optional.
@amandaghassaei amandaghassaei changed the base branch from main to dev January 12, 2023 17:42
@amandaghassaei amandaghassaei merged commit 9ec29e9 into amandaghassaei:dev Jan 12, 2023
@amandaghassaei
Copy link
Owner

thanks for the pr! this has been released in version 0.2.1

@ekzhang ekzhang deleted the patch-1 branch January 13, 2023 03:02
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