Bug with string functions by m0ose · Pull Request #729 · gpujs/gpu.js

Skip to content

Navigation Menu

Sign in

Appearance settings

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Conversation

@m0ose

Copy link Copy Markdown

@m0ose m0ose commented

Dec 1, 2021

Fixed bug and added test regarding functions as strings not working.
The code below was not working.

kernel.addFunction(`function frodo(a){
    return a + 1
  }`)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

1 participant

@m0ose