Revision 1833

trunk/src/nh99/xxmcmc.cpp (revision 1833)
1041 1041

  
1042 1042
  int lc=1;
1043 1043
  int ic=1;
1044
  int nsim;
1045 1044
  ivector mmin(1,nsdvars);
1046 1045
  ivector mmax(1,nsdvars);
1047 1046

  
1048
  nsim=sum(hist(1));
1047
  int nsim = sum(hist(1));
1049 1048
  for (i=1;i<=nsdvars;i++)
1050 1049
  {
1051 1050
    mmin(i)=minnz(hist(i));
......
1569 1568
  if ( kbhit() )
1570 1569
#endif
1571 1570
  {
1572
    #if !defined(__GNUDOS__)  || defined(UNIXKLUDGE)  || defined(linux) \
1573
      || defined(__CYGWIN32__) || defined(__MINGW32__)
1574
      int c = toupper(getch());
1575
    #else
1576
      int c = toupper(getxkey());
1577
    #endif
1578
    if ( c == 'Q')
1571
#if defined(__DJGPP__)
1572
    int c = toupper(getxkey());
1573
#else
1574
    int c = toupper(getch());
1575
#endif
1576
    if (c == 'Q')
1579 1577
    {
1580 1578
      quit_flag=1;
1581 1579
    }

Also available in: Unified diff