Chnaged testing and word in setter error

This commit is contained in:
EREPPLab
2020-10-27 15:35:56 -04:00
parent 19173bcfd2
commit 241f5e9e89
2 changed files with 13 additions and 3 deletions

View File

@ -86,5 +86,5 @@ class attributes:
@population_size.setter
def population_size(self, value_input):
if(value_input == 0):
raise ValueError("Population length must be greater then 0")
raise ValueError("Population size must be greater then 0")
self._population_size = value_input