Comments (8)
from pysnark.
I do require this functionality. It would be great if you could implement it!
from pysnark.
from pysnark.
The comparisons work now, but removing the inheritance is causing some problems for me.
For example, floating points no longer have assert_eq.
Did you have an alternative planned?
from pysnark.
from pysnark.
It also looks like removing the inheritance also means losing a lot of floating point functionality:
PrivVal(0) == PrivValFxp(0)
AttributeError: 'LinCombFxp' object has no attribute 'check_zero'
if_then_else(PrivValFxp(1), PrivVal(1), PrivVal(0))
AttributeError: 'LinCombFxp' object has no attribute 'value'
PrivValFxp(1).check_positive()
AttributeError: 'LinCombFxp' object has no attribute 'check_positive'
from pysnark.
from pysnark.
Thank you!
from pysnark.
Related Issues (20)
- ggh_hash crashes if array starts with int and has LinCombs HOT 1
- TypeError: EndVector() takes 1 positional argument but 2 were given HOT 3
- Mod operator HOT 2
- Trusted setup? HOT 8
- Implementing Exponentiation HOT 1
- Add project to pypi? HOT 1
- New zkInterface output violates spec HOT 1
- Oblivious bit shifting causes bus error in libsnark backend
- Question: Is there a reference that gives the design and properties of the ggh_hash function? HOT 11
- Add Example For Poseidon Hash Function HOT 6
- Example For Hash String Fails To Work
- Allow negative floats in division HOT 1
- Error loading backend pysnark.libsnark HOT 7
- What is cube.py proving? HOT 4
- The Future HOT 1
- Problem in using zkinterface on Windows
- Error loading backend pysnark.qaptools.backend / loading backend pysnark.libsnark.backend
- sudoku.py Script returned with error, skipping proof generation
- Implement more efficient `__pow__` with square-and-multiply
- Multiple/temporary sessions, make it easier to work from jupyter
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pysnark.