adflow icon indicating copy to clipboard operation
adflow copied to clipboard

setRotationRate for local blocks does not work correctly

Open lamkina opened this issue 9 months ago • 0 comments

Description

The setRoationRate function in pyADflow has a bug that prevents assigning specific rotation rates to individual blocks. Instead, the rate is applied to n cgns blocks starting form the first block number.

PR #323 potentially has fixes for this bug, however due to inactivity and incompleteness that PR has been closed.

Steps to reproduce issue

PR #323 identified this bug, but no tests or MWE was provided.

Current behavior

Currently ADflow applies the rotation rate the first n blocks instead of targeting specific blocks provided by the user.

Expected behavior

Rotation rates should be applied to specific blocks provided by the user.

lamkina avatar May 14 '24 13:05 lamkina