From 633655bc270080910564119c6e3c3323c489795a Mon Sep 17 00:00:00 2001 From: Luca Lombardo Date: Fri, 14 Oct 2022 16:42:09 +0200 Subject: [PATCH] indentation problem --- sources/1-s2.0-S009630032100881X-main.pdf | Bin 1058426 -> 1095141 bytes src/algo1_testing.ipynb | 7 ++++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/sources/1-s2.0-S009630032100881X-main.pdf b/sources/1-s2.0-S009630032100881X-main.pdf index 9276f4dff58974954648999ba0c1a2e3fbadc189..628433062225290fed948d7ffee08e6f3b706d81 100644 GIT binary patch delta 35672 zcmcJY&&wstS;t53jhcz05j7G}Xd=dh&}X{4s``gS(cC0NxN5w~ZV)^_`smf`ykRoY zm|#k97UE7K3_>>QLKiMwh`JF(P+a&Qh=`)N7jdC}p6c$?RZsVO&Ut6%zL0xw&U2nR z)m2YD_5AogPyf$9{P@5A=O=#i**87==4Y=xd;Qsao_))+Z+-S{&))m&{;L@z@BYs0=dy>N z$R4$>;ahKI&;R;suYK%&Rrc^F9zVW$`o-+g^FR9FYhQO+R}_KX6*Age{QqkFw;BI! z!@n8rjVCu>_{7bZhw;Ck@qg^cvIqD3$A>V7s^)viY`*-p*M4v@8~N5S8w>6Ee}C<@ z-RY^SB;YmlJJ(u z-+77Y7L)n#d*8EMp5a%+^7wY%tZrO_VFk)jjLS)kt5Jfgc95iMTq!f|ttp4k&G;~8 zd>Au6j2R!sj4N+sN}K%a*)9HdAVzwi0)J$}#fKn(L4WU-qc@A>!K zyyw@xm!Dgge6N3QILG79J^cKyf1w}8${xPe@1JImOuMnQwVkP}y35MeZHlV1RnfFO zqATpCshirhW!+U-W!n04}wRKlmQ@2)A6{~4Bm9b6uYZt5|)sJM&>o%q+ z8h)$f@XAxgKWh@IVy)^8$EX_q7OW}Nv_5&-%5ID;U2EiT$(vBs&zAM3E?gb{mJ5|q zBUUeqTw3;!U6QpxDjTz@J6Cp@Q0AtJyTA zuWS>RYVovz98qK5vSSBK*>+*6G^?VfGcG%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>ZtH)yu4swDoQpuxgp`*~5$+LH zCrw8SVnHCnhz!LPLsuif&mrhf{cR#|Z@&GwUlydHOy=i&v4cLIbD~dsv7qvHOU)Q>Ie;not zwNSW+5;)<#qXby7)TpW7poeQ|$7M;8Q|nDP9_~143w?R_c&|oe4yfJpcYE#oZcCRM z-sDHKje__1aezpP8Q%J{uP7$0wxvB@I5X*NKF#|dSibDhHQRS?70xZ+xefGdJ19G_ zc!T_xpY+EE_lvCJAJboG&1YOD1YS;1P_id4>yW?f@q_#PcX^`lPN$hdd&`01VG5Ot zCnlKL#n6YfXmGkF^*0YL~f#>0Hk;3#1n*RoCBaiLHA8044=&U;zX2Yk0&Dk zftD8Sp+BQ)kAUPf$nZUS9xlE|#D6g!LCI(W!i)VW?}yg|BHqJ*rL5!dBOu)t-=j4a zevkak-{T$Ti^+gL)SpTB6zZQ-W{eQ>8R|1^x@fH-3b07tYp1^F3Sv^~GhVc`7!Un? znhft>7zUIPHFHbkM1KY(LVvFfr7P(VBW+j`>N9b})n}gQmb^+v{!UAXAwdTt^% z{Kdcg>}P)Gx8C{f-~Fe*{f!TN<8S}@quEFP>*u?l|L~uF?b_>UhI zJ^j|r&C`rJ_MluIe)dWKtHc30;SYcE@$m*iq;F7M2#)7Pc1l7LFFq7OocV7M>Q~7QPn#Edo_)09Hi~F#rGn diff --git a/src/algo1_testing.ipynb b/src/algo1_testing.ipynb index 0e6d9b5..1b4f0b4 100644 --- a/src/algo1_testing.ipynb +++ b/src/algo1_testing.ipynb @@ -2,7 +2,7 @@ "cells": [ { "cell_type": "code", - "execution_count": 1, + "execution_count": null, "metadata": {}, "outputs": [], "source": [ @@ -130,11 +130,12 @@ "outputs": [], "source": [ "# define v as the probability vector of size n x 1, where n is the number of nodes in the graph. The vector is filled with 1/n\n", - "# https://en.wikipedia.org/wiki/Probability_vector\n", "\n", "v = sp.sparse.lil_matrix((n,1))\n", "for i in range(n):\n", - " v[i] = 1/n " + " v[i] = 1/n \n", + "\n", + "# maybe I could have done it with a lambda more concisely? idk" ] }, {