Fix type definitions for g1 & g2 elements.
This commit is contained in:
parent
825e65d7a3
commit
92488e535a
|
@ -128,7 +128,7 @@ pub fn prelude(id_gen: &IdGenerator) -> TypeInfo {
|
|||
G1_ELEMENT.to_string(),
|
||||
TypeConstructor {
|
||||
parameters: vec![],
|
||||
tipo: int(),
|
||||
tipo: g1_element(),
|
||||
location: Span::empty(),
|
||||
module: "".to_string(),
|
||||
public: true,
|
||||
|
@ -140,7 +140,7 @@ pub fn prelude(id_gen: &IdGenerator) -> TypeInfo {
|
|||
G2_ELEMENT.to_string(),
|
||||
TypeConstructor {
|
||||
parameters: vec![],
|
||||
tipo: int(),
|
||||
tipo: g2_element(),
|
||||
location: Span::empty(),
|
||||
module: "".to_string(),
|
||||
public: true,
|
||||
|
|
Loading…
Reference in New Issue