Fix bug that stoer_wagner ignores weight parameter
Merge pull request #1112 from ysitu/stoer_wagner

Fix bug that stoer_wagner ignores weight parameter