mirror of
https://github.com/data61/MP-SPDZ.git
synced 2026-01-10 05:57:57 -05:00
Maintenance.
This commit is contained in:
@@ -22,6 +22,8 @@ void BufferBase::setup(ifstream* f, int length, string filename,
|
||||
|
||||
void BufferBase::seekg(int pos)
|
||||
{
|
||||
if (not file)
|
||||
file = open();
|
||||
file->seekg(pos * tuple_length);
|
||||
if (file->eof() || file->fail())
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user