We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
UPDATE: Unrelated to field , also fails with double type.
double
typedef bls12_fq<381>::value_type bls12_base_f; int main() { constexpr auto f1 = bls12_base_f(0x1); constexpr auto f2 = bls12_base_f(0x2); constexpr matrix<bls12_base_f,2,2> m1 = {{{f1, f2}, {f1, f2}}}; constexpr matrix<bls12_base_f,2,2> m2 = {{{f2, f1}, {f2, f1}}}; auto m3 = m1 + m2; return 0; }
The above snippet fails with the below error
/home/hgedia/Development/nil/crypto3-scaffold/src/bls/src/main.cpp:18:18: error: invalid operands to binary expression ('const matrix<bls12_base_f, 2, 2>' (aka 'const matrix<element_fp<params<bls12_base_field<381>>>, 2, 2>') and 'const matrix<bls12_base_f, 2, 2>' (aka 'const matrix<element_fp<params<bls12_base_field<381>>>, 2, 2>')) auto m3 = m1 + m2;
The text was updated successfully, but these errors were encountered:
No branches or pull requests
UPDATE: Unrelated to field , also fails with
double
type.The above snippet fails with the below error
The text was updated successfully, but these errors were encountered: