Fixed results string in shape.py

This commit is contained in:
Sudipta Basak 2024-02-16 15:42:52 +05:30 committed by GitHub
parent cc51b2ba45
commit e6b33cb542
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -29,9 +29,9 @@ class Shape:
"""Returns a printable representation of the shape""" """Returns a printable representation of the shape"""
shastr = "" shastr = ""
shastr += "bsrn-"+str(self.blockSizeR) shastr += "bsrn-"+str(self.blockSizeR)
shastr += "bsrk-"+str(self.blockSizeRK) shastr += "-bsrk-"+str(self.blockSizeRK)
shastr += "bscn-"+str(self.blockSizeC) shastr += "-bscn-"+str(self.blockSizeC)
shastr += "bsck-"+str(self.blockSizeCK) shastr += "-bsck-"+str(self.blockSizeCK)
shastr += "-nn-"+str(self.numberNodes) shastr += "-nn-"+str(self.numberNodes)
shastr += "-fm-"+str(self.failureModel) shastr += "-fm-"+str(self.failureModel)
shastr += "-fr-"+str(self.failureRate) shastr += "-fr-"+str(self.failureRate)