From 09b2e5b7cb01f0be4d1b9141eec51fc8868338b4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gustavo=20A=2E=20Ara=C3=BAjo=20R=2E?= Date: Fri, 20 Sep 2024 15:44:55 -0700 Subject: [PATCH] Fixed bug in `KRAlphaExplicit::getVel()` An issue (#233) raised by another user 4 years ago regarding the implementation of `KRAlphaExplicit::getVel()` is finally fixed. --- SRC/analysis/integrator/KRAlphaExplicit.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SRC/analysis/integrator/KRAlphaExplicit.cpp b/SRC/analysis/integrator/KRAlphaExplicit.cpp index ad477b969c..e8801ba5e3 100644 --- a/SRC/analysis/integrator/KRAlphaExplicit.cpp +++ b/SRC/analysis/integrator/KRAlphaExplicit.cpp @@ -561,7 +561,7 @@ int KRAlphaExplicit::commit(void) const Vector & KRAlphaExplicit::getVel() { - return *Udot; + return *Ualphadot; } int KRAlphaExplicit::sendSelf(int cTag, Channel &theChannel) @@ -638,4 +638,4 @@ int KRAlphaExplicit::revertToStart() Udotdot->Zero(); return 0; -} \ No newline at end of file +}