Skip to content

Commit

Permalink
add missing ';'
Browse files Browse the repository at this point in the history
  • Loading branch information
Soeren Sonnenburg committed Dec 22, 2011
1 parent daf4856 commit 5a8c07d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/interfaces/modular/SGBase.i
Expand Up @@ -292,7 +292,7 @@ namespace shogun
PyObject* __getstate__()
{
char* fname=tmpnam(NULL);
FILE* tmpf=fopen(fname, "w");;
FILE* tmpf=fopen(fname, "w");
CSerializableFile* fstream=NULL;
#ifdef HAVE_HDF5
if (pickle_ascii)
Expand Down Expand Up @@ -345,7 +345,7 @@ namespace shogun
if (!pickle_ascii)
SG_SERROR("File contains an HDF5 stream but " \
"Shogun was not compiled with HDF5" \
" support! - cannot load.")
" support! - cannot load.");
fstream = new CSerializableAsciiFile(fname, 'r');
#endif
$self->load_serializable(fstream);
Expand Down

0 comments on commit 5a8c07d

Please sign in to comment.