X-Git-Url: https://fleuret.org/cgi-bin/gitweb/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=svrt.c;h=4969d5aac43f22750088c309850e97433217a8cc;hb=198149a1334feddec21a0a01e7f503ab4396e610;hp=102084b6f8c565ed2f175cfe5548223f7bf12b20;hpb=51d45bec8caf5896a113e79475abd7d2df4a646d;p=pysvrt.git
diff --git a/svrt.c b/svrt.c
index 102084b..4969d5a 100644
--- a/svrt.c
+++ b/svrt.c
@@ -19,7 +19,7 @@
* General Public License for more details.
*
* You should have received a copy of the GNU General Public License
- * along with selector. If not, see .
+ * along with svrt. If not, see .
*
*/
@@ -86,6 +86,10 @@ THByteStorage *uncompress(THByteStorage *x) {
return result;
}
+void seed(long s) {
+ srand48(s);
+}
+
THByteTensor *generate_vignettes(long n_problem, THLongTensor *labels) {
struct VignetteSet vs;
long nb_vignettes;