You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In objects.py, I think the save_to_file method of CRS has a copy-paste mistake. Specifically, lines 135-136 are storing the h_parameters in the sqlite3 database. Currently these lines are:
cur.execute("INSERT INTO crs(rowid, pk) VALUES(?,?)",(2*i+3,self.g1.to_binary()))
cur.execute("INSERT INTO crs(rowid, pk) VALUES(?,?)",(2*i+4,self.g2.to_binary()))
However, I believe they should be:
cur.execute("INSERT INTO crs(rowid, pk) VALUES(?,?)",(2*i+3,self.h_parameters_g1[i].to_binary()))
cur.execute("INSERT INTO crs(rowid, pk) VALUES(?,?)",(2*i+4,self.h_parameters_g2[i].to_binary()))
The text was updated successfully, but these errors were encountered:
In
objects.py
, I think thesave_to_file
method ofCRS
has a copy-paste mistake. Specifically, lines 135-136 are storing theh_parameters
in the sqlite3 database. Currently these lines are:However, I believe they should be:
The text was updated successfully, but these errors were encountered: