--- a/doc/tutorial/src/ldpc_gen_codes.cpp
+++ b/doc/tutorial/src/ldpc_gen_codes.cpp
@@ -61,7 +61,7 @@
     cout << "========= IRREGULAR CODE 10000 BITS ==========" << endl;
     LDPC_Parity_Irregular H;
     H.generate(10000,
-               "0 0.21991 0.23328 0.02058 0 0.08543 0.06540 0.04767 0.01912"
+               "0 0.21991 0.23328 0.02058 0 0.08543 0.06540 0.04767 0.01912 "
                "0 0 0 0 0 0 0 0 0 0.08064 0.22798",
                "0 0 0 0 0 0 0 0.64854 0.34747 0.00399",
                "rand",  // random unstructured matrix
@@ -74,8 +74,8 @@
     cout << "========= IRREGULAR CODE 100000 BITS ==========" << endl;
     LDPC_Parity_Irregular H;
     H.generate(100000,
-               "0 0.1712 0.21053 0.00273 0 0 0.00009 0.15269 0.09227"
-               "0.02802 0 0 0 0 0.01206 0 0 0 0 0 0 0 0 0 0 0 0 0 0"
+               "0 0.1712 0.21053 0.00273 0 0 0.00009 0.15269 0.09227 "
+               "0.02802 0 0 0 0 0.01206 0 0 0 0 0 0 0 0 0 0 0 0 0 0 "
                "0.07212 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25830",
                "0 0 0 0 0 0 0 0 0.33620 0.08883 0.57497",
                "rand",
@@ -91,8 +91,8 @@
     cout << "========= IRREGULAR CODE 1000000 BITS ==========" << endl;
     LDPC_Parity_Irregular H;
     H.generate(1000000,
-               "0 0.1712 0.21053 0.00273 0 0 0.00009 0.15269 0.09227"
-               "0.02802 0 0 0 0 0.01206 0 0 0 0 0 0 0 0 0 0 0 0 0 0"
+               "0 0.1712 0.21053 0.00273 0 0 0.00009 0.15269 0.09227 "
+               "0.02802 0 0 0 0 0.01206 0 0 0 0 0 0 0 0 0 0 0 0 0 0 "
                "0.07212 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25830",
                "0 0 0 0 0 0 0 0 0.33620 0.08883 0.57497",
                "rand",