Revision 795 branches/replacement/src/linad99/fvar_op4.cpp

fvar_op4.cpp (revision 795)
55 55
      #ifdef SAFE_ARRAYS
56 56
        if (i<indexmin())
57 57
        {
58
          cerr << "array bound exceeded -- index too low in prevariable::operator[]";
58
          cerr << "array bound exceeded -- index too low in prevariable::operator()";
59 59
          ad_exit(1);
60 60
        }
61 61
        if (i>indexmax())
62 62
        {
63
          cerr << "array bound exceeded -- index too high in prevariable::operator[]";
63
          cerr << "array bound exceeded -- index too high in prevariable::operator()";
64 64
          ad_exit(1);
65 65
        }
66 66
      #endif
......
96 96
      #ifdef SAFE_ARRAYS
97 97
        if (i<indexmin())
98 98
        {
99
          cerr << "array bound exceeded -- index too low in prevariable::operator[]";
99
          cerr << "array bound exceeded -- index too low in prevariable::operator()";
100 100
          ad_exit(1);
101 101
        }
102 102
        if (i>indexmax())
103 103
        {
104
          cerr << "array bound exceeded -- index too high in prevariable::operator[]";
104
          cerr << "array bound exceeded -- index too high in prevariable::operator()";
105 105
          ad_exit(1);
106 106
        }
107 107
      #endif

Also available in: Unified diff