Skip to content

Commit

Permalink
Merge pull request #1023 from htm-community/fix-determinism-test
Browse files Browse the repository at this point in the history
Fix test HelloSPTP: deterministic output.
  • Loading branch information
dkeeney authored Sep 4, 2024
2 parents 8ab000a + ce7f19a commit bf53309
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/examples/hello/HelloSPTP.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ EPOCHS = 2; // make test faster in Debug

SDR goldTM({COLS});
const SDR_sparse_t deterministicTM{
72, 85, 102, 114, 122, 126, 287, 308, 337, 339, 542, 920, 939, 952, 1268, 1507, 1508, 1518, 1546, 1547, 1626, 1627, 1633, 1668, 1727, 1804, 1805, 1827, 1832, 1844, 1859, 1862, 1918, 1920, 1924, 1931, 1933, 1945, 1961, 1965, 1966, 1968, 1970, 1973, 1975, 1976, 1977, 1979, 1986, 1987, 1991, 1992, 1996, 1998, 2002, 2006, 2008, 2012, 2042, 2045
72, 102, 159, 322, 337, 339, 352, 370, 432, 939, 1095, 1499, 1508, 1546, 1547, 1623, 1626, 1668, 1691, 1694, 1711, 1729, 1781, 1797, 1803, 1804, 1805, 1812, 1824, 1827, 1832, 1841, 1858, 1861, 1862, 1870, 1931, 1941, 1943, 1952, 1955, 1956, 1958, 1961, 1971, 1973, 1975, 1976, 1979, 1981, 1985, 1991, 1992, 2002, 2006, 2008, 2012, 2013, 2036, 2039, 2042
};
goldTM.setSparse(deterministicTM);

Expand Down

0 comments on commit bf53309

Please sign in to comment.