Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 13 additions & 17 deletions source/src/core/scoring/lkball/LK_DomeEnergy.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1034,15 +1034,13 @@ cubed_root( Real val ) {


DerivativeFinderWadj::DerivativeFinderWadj( Vector const & base, Vector const & water, Real w_dist, Real water_adjust )
: x(14)
: B( base ),
W( water ),
B_to_W( water - base ),
wadj( water_adjust ),
w_dist_( w_dist ),
x(14)
{

w_dist_ = w_dist;
wadj = water_adjust;

B = base;
W = water;
B_to_W = W - B;
B_to_W_norm = B_to_W.norm();
B_to_W_norm2 = B_to_W_norm*B_to_W_norm;
B_to_W_norm3 = B_to_W_norm2*B_to_W_norm;
Expand Down Expand Up @@ -1098,21 +1096,19 @@ DerivativeFinderWadj::dWadj_dWater() {

DerivativeFinder::DerivativeFinder( Vector const & base, Vector const & water, Vector const & other,
Real min_cose, Real min_sine, Real max_cose, Real max_sine, Real w_dist, Real water_adjust ) :
B(base),
W(water),
Ot(other),
W_to_Ot(Ot - W),
B_to_W(W - B),
w_dist_( w_dist ),
wadj( water_adjust ),
x(175)
{
w_dist_ = w_dist;
wadj = water_adjust;

B = base;
W = water;
Ot = other;

W_to_Ot = Ot - W;
W_to_Ot_norm = W_to_Ot.norm();
W_to_Ot_norm2 = W_to_Ot_norm*W_to_Ot_norm;
W_to_Ot_norm3 = W_to_Ot_norm*W_to_Ot_norm2;

B_to_W = W - B;
B_to_W_norm = B_to_W.norm();
B_to_W_norm2 = B_to_W_norm*B_to_W_norm;
B_to_W_norm3 = B_to_W_norm2*B_to_W_norm;
Expand Down
2 changes: 1 addition & 1 deletion source/src/protocols/forge/remodel/RemodelGlobalFrame.cc
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ void RemodelGlobalFrame::get_helical_params( core::pose::Pose & pose ) {
Matrix3f I = Matrix3f::Identity();
Matrix3f N = 0.5*(H+H.transpose()) - cos(omega)*I;

Vector3f hN;
Vector3f hN{0.0, 0.0, 0.0};
Real scalar = 0;
Real max_scalar = -10000000;
for ( core::Size i = 0; i<=2; i++ ) {
Expand Down
12 changes: 1 addition & 11 deletions source/src/utility/options/VectorOption_T_.hh
Original file line number Diff line number Diff line change
Expand Up @@ -106,17 +106,7 @@ protected: // Creation


/// @brief Copy constructor
inline
VectorOption_T_( VectorOption_T_ const & option ) :
Super( option )
#ifdef VECTOROPTION_T_FULL_THREAD_SAFETY
,
mutex_()
#endif
{
(*this) = option;
}

VectorOption_T_( VectorOption_T_ const & option ) = default;

/// @brief Key + description constructor
inline
Expand Down
6 changes: 3 additions & 3 deletions source/test/core/fragment/ConstantLengthFragments.cxxtest.hh
Original file line number Diff line number Diff line change
Expand Up @@ -267,11 +267,11 @@ void FragmentConstantLengthTest::test_frag_iterator() {
FrameList frames;
if ( fragset.region( movemap, pos, pos, len, len, frames ) ) {
Frame const& frame ( * ( frames[ 1 ] ) );
Size val;
Size val = 0;
TS_ASSERT( silly_cache.retrieve(frame, 1, val) ); //there should be a value ( return true )
TS_ASSERT_EQUALS( val , pos );

Size val2;
Size val2 = 999555; // Something non-zero
TS_ASSERT( it != eit );
TS_ASSERT( silly_cache.retrieve( **it , 1, val2) ); //there should be a value ( return true )
TS_ASSERT_EQUALS( val2 , val );
Expand All @@ -285,7 +285,7 @@ void FragmentConstantLengthTest::test_frag_iterator() {
ConstFrameIterator it = bfragset.begin();
ConstFrameIterator eit= bfragset.end();
for ( Size pos=1 ; it!=eit; ++it ) {
Size val;
Size val = 0;
silly_cache.retrieve( **it, 1, val);
TS_ASSERT_EQUALS( val, pos );
++pos;
Expand Down
4 changes: 2 additions & 2 deletions source/test/utility/UTools.cxxtest.hh
Original file line number Diff line number Diff line change
Expand Up @@ -133,8 +133,8 @@ public:
// ------------------------------------------ //
/// @brief test isMarkup function
void test_isMarkup() {
double num;
unsigned int end_pos;
double num = 0.0;
unsigned int end_pos = 0;
bool res;

res = test::utools::isMarkup("something(1.23)", 0, num, end_pos, "MARKUP(");
Expand Down
13 changes: 13 additions & 0 deletions source/tools/build/basic.settings
Original file line number Diff line number Diff line change
Expand Up @@ -443,6 +443,19 @@ settings = {
},
},

"gcc, |cxx_ver:>=15.0|" : {
"appends" : {
"flags" : {
"warn" : [
"Wno-error=dangling-pointer=", # Boost spirit issue
"Wno-error=stringop-overflow=", # Internal mis-prediction with small_vector1
],
},
},
},



"gcc, |cxx_ver:>=13.0|" : {
"appends" : {
"flags" : {
Expand Down