Skip to content

Commit

Permalink
Temp. displayed using {aheat} not in celsius
Browse files Browse the repository at this point in the history
Since it is displayed in celsius for {t}, shouldn't it be for {aheat} too? Just a consistency thing.
  • Loading branch information
QuanTech0 authored and jacob1 committed Jun 30, 2017
1 parent fb08400 commit d0feba6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/simulation/Sign.cpp
Expand Up @@ -30,7 +30,7 @@ std::string sign::getText(Simulation *sim)
float aheat = 0.0f;
if (x>=0 && x<XRES && y>=0 && y<YRES)
aheat = sim->hv[y/CELL][x/CELL];
sprintf(buff, "%3.2f", aheat);
sprintf(buff, "%3.2f", aheat-273.15);
}
else if (!strcmp(signText,"{t}"))
{
Expand Down

0 comments on commit d0feba6

Please sign in to comment.