Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
L
libcifpp
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
open
libcifpp
Commits
e8031aeb
Unverified
Commit
e8031aeb
authored
Jan 17, 2023
by
Maarten L. Hekkelman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix is_cis
parent
19706559
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
2 deletions
+5
-2
CMakeLists.txt
+1
-1
changelog
+3
-0
src/model.cpp
+1
-1
No files found.
CMakeLists.txt
View file @
e8031aeb
...
@@ -25,7 +25,7 @@
...
@@ -25,7 +25,7 @@
cmake_minimum_required
(
VERSION 3.16
)
cmake_minimum_required
(
VERSION 3.16
)
# set the project name
# set the project name
project
(
cifpp VERSION 5.0.
6
LANGUAGES CXX
)
project
(
cifpp VERSION 5.0.
7
LANGUAGES CXX
)
list
(
PREPEND CMAKE_MODULE_PATH
"
${
CMAKE_CURRENT_SOURCE_DIR
}
/cmake"
)
list
(
PREPEND CMAKE_MODULE_PATH
"
${
CMAKE_CURRENT_SOURCE_DIR
}
/cmake"
)
...
...
changelog
View file @
e8031aeb
Version
5.0.7
-
Fix
is_cis
Version
5.0.6
Version
5.0.6
-
Fix
file
::
contains
,
using
iequals
-
Fix
file
::
contains
,
using
iequals
...
...
src/model.cpp
View file @
e8031aeb
...
@@ -935,7 +935,7 @@ float monomer::omega(const monomer &a, const monomer &b)
...
@@ -935,7 +935,7 @@ float monomer::omega(const monomer &a, const monomer &b)
bool
monomer
::
is_cis
(
const
monomer
&
a
,
const
monomer
&
b
)
bool
monomer
::
is_cis
(
const
monomer
&
a
,
const
monomer
&
b
)
{
{
return
omega
(
a
,
b
)
<
30.0
f
;
return
std
::
abs
(
omega
(
a
,
b
)
)
<
30.0
f
;
}
}
// --------------------------------------------------------------------
// --------------------------------------------------------------------
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment