Skip to content

Commit

Permalink
remove unnecessary semi-colons.
Browse files Browse the repository at this point in the history
  • Loading branch information
jlmelville committed Oct 20, 2018
1 parent 111a07d commit c78071d
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 10 deletions.
9 changes: 4 additions & 5 deletions inst/include/space_ip.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

#pragma once
#ifdef _MSC_VER
#include <intrin.h>
Expand Down Expand Up @@ -32,7 +31,7 @@ namespace hnswlib {
}
return (1.0f - res);

};
}


static float
Expand Down Expand Up @@ -130,7 +129,7 @@ namespace hnswlib {

return 1.0f - sum;
#endif
};
}
static float
InnerProductSIMD16Ext(const void *pVect1v, const void *pVect2v, const void *qty_ptr) {
float PORTABLE_ALIGN32 TmpRes[8];
Expand Down Expand Up @@ -206,7 +205,7 @@ namespace hnswlib {

return 1.0f - sum;
#endif
};
}


class InnerProductSpace : public SpaceInterface<float> {
Expand Down Expand Up @@ -240,4 +239,4 @@ namespace hnswlib {
};


};
}
10 changes: 5 additions & 5 deletions inst/include/space_l2.h
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ namespace hnswlib {
}
return (res);

};
}


static float
Expand Down Expand Up @@ -117,7 +117,7 @@ namespace hnswlib {

return (res);
#endif
};
}


static float
Expand Down Expand Up @@ -148,7 +148,7 @@ namespace hnswlib {
float res = TmpRes[0] + TmpRes[1] + TmpRes[2] + TmpRes[3];

return (res);
};
}

class L2Space : public SpaceInterface<float> {

Expand Down Expand Up @@ -216,7 +216,7 @@ namespace hnswlib {

return (res);

};
}

class L2SpaceI : public SpaceInterface<int> {

Expand Down Expand Up @@ -245,4 +245,4 @@ namespace hnswlib {
};


};
}

0 comments on commit c78071d

Please sign in to comment.