Code Duplication    Length = 2-2 lines in 2 locations

pyclustering/cluster/syncnet.py 2 locations

@@ 301-302 (lines=2) @@
298
        @param[in] argv (uint): Index of oscillator whose phase represented by argument teta.
299
        
300
        @return (double) New value of phase of oscillator with index 'argv'.
301
        
302
        """
303
        
304
        index = argv;   # index of oscillator
305
        phase = 0.0;      # phase of a specified oscillator that will calculated in line with current env. states.
@@ 296-297 (lines=2) @@
293
        """!
294
        @brief Overrided method for calculation of oscillator phase.
295
        
296
        @param[in] teta (double): Current value of phase.
297
        @param[in] t (double): Time (can be ignored).
298
        @param[in] argv (uint): Index of oscillator whose phase represented by argument teta.
299
        
300
        @return (double) New value of phase of oscillator with index 'argv'.