mirror of
https://github.com/jomjol/AI-on-the-edge-device.git
synced 2025-12-12 06:27:01 +03:00
merge fixes
This commit is contained in:
@@ -206,7 +206,7 @@ int ClassFlowCNNGeneral::PointerEvalHybridNew(float number, float number_of_pred
|
|||||||
// number can still be x.6 - x.7.
|
// number can still be x.6 - x.7.
|
||||||
// Preceding (else - branch) does not already happen from 9.
|
// Preceding (else - branch) does not already happen from 9.
|
||||||
if (((Digital_Transition_Area_Forward>=number_of_predecessors) && (eval_predecessors == (int)number_of_predecessors))
|
if (((Digital_Transition_Area_Forward>=number_of_predecessors) && (eval_predecessors == (int)number_of_predecessors))
|
||||||
|| result_after_decimal_point >= 4)
|
|| result_after_decimal_point >= 4) {
|
||||||
// The current digit, like the previous digit, does not yet have a zero crossing.
|
// The current digit, like the previous digit, does not yet have a zero crossing.
|
||||||
result = result_before_decimal_point % 10;
|
result = result_before_decimal_point % 10;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -138,6 +138,11 @@ void task_UnityTesting(void *pvParameter)
|
|||||||
RUN_TEST(test_doFlowPP3);
|
RUN_TEST(test_doFlowPP3);
|
||||||
printf("---------------------------------------------------------------------------\n");
|
printf("---------------------------------------------------------------------------\n");
|
||||||
RUN_TEST(test_doFlowPP4);
|
RUN_TEST(test_doFlowPP4);
|
||||||
|
printf("---------------------------------------------------------------------------\n");
|
||||||
|
RUN_TEST(test_doFlowPP_rainman110);
|
||||||
|
printf("---------------------------------------------------------------------------\n");
|
||||||
|
RUN_TEST(test_doFlowPP_rainman110_transition);
|
||||||
|
|
||||||
UNITY_END();
|
UNITY_END();
|
||||||
|
|
||||||
while(1);
|
while(1);
|
||||||
|
|||||||
Reference in New Issue
Block a user