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
1 changed files with 3 additions and 3 deletions

View File

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