Re: ECAC Projected Standings 2015-16
The first is a meaningless expression (it would yield an integer, but not do anything with it), the second is equivalent to "wins[op] = wins[op] + 1" ('+=1' in python serving essentially the same purpose as '++' in C and similar languages). Basically, because of some careless coding, I wasn't crediting the away team with a win for the purpose of tiebreakers when simulating games. The same error wasn't present for a home team win, or for entering games that already happened (which is why the program worked as intended when I manually set the results of games).
For those who still think that Fortran is the ultimate in programming languages, although I did eventually switch to Matlab, could you explain what those two statements signify?
The first is a meaningless expression (it would yield an integer, but not do anything with it), the second is equivalent to "wins[op] = wins[op] + 1" ('+=1' in python serving essentially the same purpose as '++' in C and similar languages). Basically, because of some careless coding, I wasn't crediting the away team with a win for the purpose of tiebreakers when simulating games. The same error wasn't present for a home team win, or for entering games that already happened (which is why the program worked as intended when I manually set the results of games).