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

Assigning the value to an intermediate signal returns error #78

Open
curryrasul opened this issue Jun 26, 2024 · 2 comments
Open

Assigning the value to an intermediate signal returns error #78

curryrasul opened this issue Jun 26, 2024 · 2 comments
Assignees

Comments

@curryrasul
Copy link
Collaborator

I tried the circuit:

pragma circom 2.1.0;

template temp() {
    signal input a;
    signal output out;

    signal intermediate <== 0;
}

component main = temp();

It finishes with error:

thread 'main' panicked at src/compiler.rs:520:51:
no entry found for key
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
@namnc
Copy link
Owner

namnc commented Jun 27, 2024

I think this is a weird circuit may be we give it low priority ...

@curryrasul
Copy link
Collaborator Author

@namnc Yes, agree. It's not only in this circuit though, it's just an example

@curryrasul curryrasul self-assigned this Jun 28, 2024
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

No branches or pull requests

2 participants