Skip to content

Commit

Permalink
remove previous fix for long lines in .lp files
Browse files Browse the repository at this point in the history
  • Loading branch information
jjhforrest committed Apr 23, 2023
1 parent 720432c commit 4ef8067
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CoinUtils/src/CoinLpIO.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2996,7 +2996,7 @@ void CoinLpIO::newLanguage(CoinMessages::Language language)
// Get next line into inputBuffer_ (returns number in)
int CoinLpIO::newCardLpIO() const
{
while (bufferPosition_ == abs(bufferLength_)) {
while (bufferPosition_ == bufferLength_) {
// new line
bufferPosition_ = 0;
bufferLength_ = 0;
Expand Down Expand Up @@ -3061,7 +3061,7 @@ int CoinLpIO::newCardLpIO() const
int CoinLpIO::fscanfLpIO(char *buff) const
{
assert(input_);
if (bufferPosition_ == abs(bufferLength_)) {
if (bufferPosition_ == bufferLength_) {
int returnCode = newCardLpIO();
if (!returnCode) {
if (eofFound_)
Expand Down

0 comments on commit 4ef8067

Please sign in to comment.