Skip to content

Commit 8ebb3e0

Browse files
committed
fix exact output
1 parent c2660a2 commit 8ebb3e0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/test/unit/algorithms/SpatialPoolerTest.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -2053,15 +2053,15 @@ TEST(SpatialPoolerTest, ExactOutput) {
20532053
// Silver is an SDR that is loaded by direct initalization from a vector.
20542054
SDR silver_sdr({ 200 });
20552055
SDR_sparse_t data = {
2056-
12, 51, 81, 113, 129, 133, 172, 175, 178, 190
2056+
4, 64, 74, 78, 85, 113, 125, 126, 127, 153
20572057
};
20582058
silver_sdr.setSparse(data);
20592059

20602060

20612061
// Gold tests initalizing an SDR from a manually created string in JSON format.
20622062
// hint: you can generate this string using
20632063
// silver_sdr.save(std::cout, JSON);
2064-
string gold = "{\"dimensions\": [200],\"sparse\": [12, 51, 81, 113, 129, 133, 172, 175, 178, 190]}";
2064+
string gold = "{\"dimensions\": [200],\"sparse\": [4, 64, 74, 78, 85, 113, 125, 126, 127, 153]}";
20652065
std::stringstream gold_stream( gold );
20662066
SDR gold_sdr;
20672067
gold_sdr.load( gold_stream, JSON );

0 commit comments

Comments
 (0)