Changeset - 1df09cbbb7ed
[Not reviewed]
0 1 0
Tom Bannink - 8 years ago 2017-06-02 21:18:51
tom.bannink@cwi.nl
Fix DSP computation
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
cpp/switchchain_dsp.cpp
Show inline comments
 
@@ -77,7 +77,7 @@ double getProperty(const DegreeSequence& ds) {
 

	
 
    for (auto i = 0u; i < ds.size(); ++i) {
 
        for (auto j = i + 1; j < ds.size(); ++j) {
 
            vals[i][j] = 1.0 - std::exp(-ds[i] * ds[j] * factor);
 
            vals[i][j] = 1.0 - std::exp(-(ds[i] * ds[j] * factor));
 
        }
 
    }
 

	
0 comments (0 inline, 0 general)