cloudsimplus / cloudsimplus-examples

CloudSim Plus Examples: the starting point to understand how to use the framework and create your own simulations
https://cloudsimplus.org
GNU General Public License v3.0
22 stars 19 forks source link

Incorrect ternary operator #7

Closed GRV96 closed 2 years ago

GRV96 commented 2 years ago

The condition in this ternary operator does not work. I think it should be powerModel instanceof PowerModelHostSimple rather than powerModel instanceof PowerModelHostSimple powerModelHost.

GRV96 commented 2 years ago

Forget this. I updated my SDK, and the line works.