Commit Graph

19 Commits

Author SHA1 Message Date
Eisuke Kawashima
112bb25f08 style: apply readability-braces-around-statements (#8136)
Co-authored-by: Eisuke Kawashima <e-kwsm@users.noreply.github.com>
2026-02-26 16:52:56 +01:00
Hussein Faara
44364fd982 remove no-op macros and dead code (pt 4) (#8037)
* remove no-op macros and dead code (pt 4)

* review comments
2025-01-26 07:49:50 +01:00
Anna Brünisholz
a06c921a79 Cleanup of Code/DataStructs (#7365)
* for-loop modernization

* declaration and initialization together

* switch statements, min&max from std

* switch statement

* use of std min&max

* fixed unsigned int to int comparison

* implement switch statement

* fix unsigned int to int comparison

* revert previous mistake

* Update Code/DataStructs/DiscreteValueVect.cpp

Co-authored-by: Greg Landrum <greg.landrum@gmail.com>

* implemented suggestions

---------

Co-authored-by: Greg Landrum <greg.landrum@gmail.com>
2024-04-21 06:41:52 +02:00
Ric
66a38d3751 Address build warnings (#3082)
* do not throw in desctructor

* remove unused var; reserve

* provide operator= for DiscreteValueVect

* provide operator= for SparseIntVect

* remove unknown 'omp' #pragmas; refactor loop

* remove unused var

* remove unused variables

* give EmbeddedAtom a default constructor & early exit on self assignç

* handle unused vars/args

* catch exception by ref

* address unused args

* fix signed type comparison; refactor extra checks

* remove unused variable

* suppress switch fallthtough warning

* handle signed type comparison

* handle signed type comparison

* potentially uninitialized vars

* fix abs() of bool

* unused vars in catch statements

* remove unused variables

* python::list returns will be copied

* give ValidationMethod constructor & virtual destructor

* remove extra semicolon
2020-04-17 14:40:15 +02:00
Greg Landrum
d41752d558 run clang-tidy with readability-braces-around-statements (#2899)
* run clang-tidy with readability-braces-around-statements
clang-format the results
clean up all the parts that clang-tidy-8 broke

* fix problem on windows
2020-01-25 14:19:32 +01:00
Brian Kelley
373a89021e Change boost int types to std types (#2233) 2019-01-22 17:45:03 +01:00
Greg Landrum
7c0bb0b743 clang-tidy output 2017-04-22 17:09:24 +02:00
Greg Landrum
e08e0d16d8 first pass, using google style 2015-11-14 14:58:11 +01:00
Riccardo Vianello
7c346d7c2e Code/RDBoost/Exceptions.h moved to Code/RDGeneral 2015-03-16 22:31:48 +01:00
Greg Landrum
a4304f95ab an attempt to resolve the problem with serialization and endian-ness 2012-05-21 04:18:51 +00:00
Greg Landrum
d2d51b4ea4 cleanup deserialization a bit 2012-05-21 03:10:42 +00:00
Greg Landrum
f3fbef45c5 update copyright statements 2010-09-26 17:04:37 +00:00
Greg Landrum
029e08d6b4 merge in the changes from the 64 bit port branch r703:717 2008-06-11 05:01:17 +00:00
Greg Landrum
8b3de2e02e Fix and test sf.net bug 1719831 (http://sourceforge.net/tracker/index.php?func=detail&aid=1719831&group_id=160139&atid=814650)
Cleanup similar issues in UniformGrid3D

MolOps.cpp: docs patch
2007-05-16 08:14:44 +00:00
Greg Landrum
37bf5f56f8 add operator+, operator-, operator+=, and operator -= 2007-03-17 06:55:53 +00:00
Greg Landrum
e66f08dc33 support operator& and operator|;
some doc cleanups;
fix a problem in the copy ctor for DiscreteValueVect
2007-03-15 05:59:08 +00:00
Greg Landrum
a73711e854 batch dos2unix conversion; untabify 2007-03-14 04:46:26 +00:00
Greg Landrum
f31ac073b5 add pickle support to the UniformGrid and DiscreteValueVect classes;
This still needs to be checked on linux
2007-01-26 04:41:36 +00:00
Greg Landrum
75a79b6327 initial import 2006-05-06 22:20:08 +00:00