Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
finesse
pykat
Commits
f7752dd9
Commit
f7752dd9
authored
Jul 31, 2014
by
Daniel Brown
Browse files
fixing clause
parent
3a418d7c
Changes
1
Hide whitespace changes
Inline
Side-by-side
pykat/utilities/knm.py
View file @
f7752dd9
...
...
@@ -94,7 +94,7 @@ def ROM_HG_knm(weights, mode_in, mode_out, q1, q2, q1y=None, q2y=None, cache=Non
npr
=
mode_in
[
1
]
mpr
=
mode_out
[
1
]
foundSymmetry
=
np
.
all
(
weights
.
EI
[
"xp"
].
nodes
==
-
weights
.
EI
[
"xm"
].
nodes
)
and
np
.
all
(
weights
.
EI
[
"yp"
].
nodes
==
-
weights
.
EI
[
"ym"
].
nodes
)
foundSymmetry
=
np
.
all
(
weights
.
EI
[
"ym"
].
nodes
==
-
weights
.
EI
[
"xm"
].
nodes
)
and
np
.
all
(
weights
.
EI
[
"xp"
].
nodes
==
-
weights
.
EI
[
"xm"
].
nodes
)
and
np
.
all
(
weights
.
EI
[
"yp"
].
nodes
==
-
weights
.
EI
[
"ym"
].
nodes
)
if
foundSymmetry
:
if
cache
==
None
:
...
...
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