Skip to content
This repository has been archived by the owner on Apr 5, 2019. It is now read-only.

Change code to use v = (a, f) #23

Merged
merged 5 commits into from
Jan 18, 2019
Merged

Change code to use v = (a, f) #23

merged 5 commits into from
Jan 18, 2019

Conversation

cathieyun
Copy link
Contributor

No description provided.

@cathieyun cathieyun changed the title [WIP] Change code to use v = (a, f) Change code to use v = (a, f) Jan 18, 2019
x[i].q + x[i].a * w + x[i].t * w2,
y[i].q + y[i].a * w + y[i].t * w2,
);
let (x_i_var, y_i_var, _) = cs.multiply(x[i].q + x[i].f * w, y[i].q + y[i].f * w);
Copy link
Contributor

Choose a reason for hiding this comment

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

Note for later: this is a funny way to allocate two independent variables, but we really should use a more apt API for clarity.

oleganza
oleganza previously approved these changes Jan 18, 2019
Copy link
Contributor

@oleganza oleganza left a comment

Choose a reason for hiding this comment

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

lgtm

Copy link
Contributor

@oleganza oleganza left a comment

Choose a reason for hiding this comment

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

lgtm

@oleganza oleganza merged commit 2f173a0 into master Jan 18, 2019
@oleganza oleganza mentioned this pull request Jan 18, 2019
@cathieyun cathieyun deleted the two-field-impl branch January 22, 2019 18:35
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants