c77d8e21b7ec2db27d917d8eb3f62fd25f4356f1,pyemma/util/types.py,,is_iterable_of_float,#,66
Before Change
if not is_iterable(l):
return False
return all(is_float(value) for value in l)
def is_list_of_float(l):
rChecks if l is a list of integers
After Change
def is_iterable_of_float(l):
r Checks if l is iterable and contains only floating point types
return is_iterable_of_types(l, numbers.Real)
def is_list_of_float(l):
rChecks if l is a list of integers
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 6
Instances Project Name: markovmodel/PyEMMA
Commit Name: c77d8e21b7ec2db27d917d8eb3f62fd25f4356f1
Time: 2019-11-19
Author: clonker@gmail.com
File Name: pyemma/util/types.py
Class Name:
Method Name: is_iterable_of_float
Project Name: markovmodel/PyEMMA
Commit Name: c77d8e21b7ec2db27d917d8eb3f62fd25f4356f1
Time: 2019-11-19
Author: clonker@gmail.com
File Name: pyemma/util/types.py
Class Name:
Method Name: is_list_of_float
Project Name: markovmodel/PyEMMA
Commit Name: c77d8e21b7ec2db27d917d8eb3f62fd25f4356f1
Time: 2019-11-19
Author: clonker@gmail.com
File Name: pyemma/util/types.py
Class Name:
Method Name: is_iterable_of_int
Project Name: markovmodel/PyEMMA
Commit Name: c77d8e21b7ec2db27d917d8eb3f62fd25f4356f1
Time: 2019-11-19
Author: clonker@gmail.com
File Name: pyemma/util/types.py
Class Name:
Method Name: is_list_of_int