Skip to content

Commit

Permalink
fmk - fixing define
Browse files Browse the repository at this point in the history
  • Loading branch information
fmckenna committed Nov 12, 2021
1 parent dba6384 commit 7e09614
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 15 deletions.
6 changes: 0 additions & 6 deletions SRC/analysis/integrator/ArcLength.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1012,12 +1012,6 @@ ArcLength::computeSensitivities(void)
//opserr<<"computeSensitivities : start"<<endln;
// Zero out the old right-hand side of the SOE
theSOE->zeroB();
if (this == 0) {
opserr << "ERROR SensitivityAlgorithm::computeSensitivities() -";
opserr << "the SensitivityIntegrator is NULL\n";
return -1;
}


// Form the part of the RHS which are indepent of parameter
this->formIndependentSensitivityRHS();
Expand Down
6 changes: 0 additions & 6 deletions SRC/analysis/integrator/DisplacementControl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1018,12 +1018,6 @@ DisplacementControl::computeSensitivities(void)

// Zero out the old right-hand side of the SOE
theSOE->zeroB();
if (this == 0) {
opserr << "ERROR SensitivityAlgorithm::computeSensitivities() -";
opserr << "the SensitivityIntegrator is NULL\n";
return -1;
}


// Form the part of the RHS which are indepent of parameter
this->formIndependentSensitivityRHS();
Expand Down
2 changes: 1 addition & 1 deletion SRC/analysis/numberer/DOF_Numberer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ DOF_Numberer::numberDOF(int lastDOF_Group)
return -1;
}

if ((theGraphNumberer == 0)) {
if (theGraphNumberer == 0) {
opserr << "WARNING DOF_Numberer::numberDOF - ";
opserr << "subclasses must provide own implementation\n";
return -2;
Expand Down
2 changes: 1 addition & 1 deletion SRC/database/FileDatastore.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -764,7 +764,7 @@ FileDatastore::recvMatrix(int dataTag, int commitTag,

if (pos < fileEnd) {
theStream->read(data, stepSize);
if ((*(theIntData.dbTag) == dataTag)) {
if (*(theIntData.dbTag) == dataTag) {
found = true;
pos += stepSize;
}
Expand Down
2 changes: 1 addition & 1 deletion SRC/system_of_eqn/linearSOE/sparseGEN/PFEMSolver_Umfpack.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@


#ifndef PFEMSolverUmfpack_h
#define PFEMSolver_Umfpack_h
#define PFEMSolverUmfpack_h

// File: ~/system_of_eqn/linearSOE/sparseGEN/PFEMSolver_Umfpack.h
//
Expand Down

0 comments on commit 7e09614

Please sign in to comment.