# :l.1214:EvalSumRows(): Input evaluation key map is empty

**URL:** <https://openfhe.discourse.group/t/l-1214-evalsumrows-input-evaluation-key-map-is-empty/1294>\
**Category:** Library Questions\
**Created:** [May 24, 2024, 8:03am UTC](https://openfhe.discourse.group/t/l-1214-evalsumrows-input-evaluation-key-map-is-empty/1294 "2024-05-24T08:03:23Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![oleg.fatyukhin](https://avatars.discourse-cdn.com/v4/letter/o/85e7bf/32.png) [@oleg.fatyukhin](https://openfhe.discourse.group/u/oleg.fatyukhin)\
**Post date:** [May 24, 2024, 8:03am UTC](https://openfhe.discourse.group/t/l-1214-evalsumrows-input-evaluation-key-map-is-empty/1294/1 "2024-05-24T08:03:23Z")

</div>

Hi! I’m trying to run Logistic Regression Training Examples using OpenFHE from [GitHub - openfheorg/openfhe-logreg-training-examples: OpenFHE-Based Examples of Logistic Regression Training using Nesterov Accelerated Gradient Descent](https://github.com/openfheorg/openfhe-logreg-training-examples), and then I run ./lr\_nag by default, I see this:

"  
Running in 64-bit mode  
Using Bootstrapping

* * *

Bootstrapping Crypto Params  
Discrete key used: UNIFORM\_TERNARY  
Approx Bootstrap depth: 8  
Levels before bootstrap: 15  
Final Bootstrap Depth: 32  
Generating keys  
Mult keys  
EvalSum keys  
Feature Analysis: min ave max  
BWTR14: -1 -0.0670072 1  
RECWT: -1 -0.906798 1  
APGAR5R: -1 0.0507812 1  
BFEDN: -1 -0.353516 1  
AB\_NICUN: -1 0.474609 1  
APGAR5: -1 -0.815065 1  
CIG\_RECN: -1 0.703125 1  
CA\_CCHDY: -1 -0.988281 1  
BFEDU: -1 -0.625 1  
intercept: 1 1 1  
Feature Analysis: min ave max  
BWTR14: -1.81406 8.75629e-09 2.11671  
RECWT: -0.397435 -1.03125e-08 7.33578  
APGAR5R: -1.69504 -1.62249e-09 1.52858  
BFEDN: -0.699621 5.72989e-09 1.42931  
AB\_NICUN: -1.63742 1.29645e-08 0.610703  
APGAR5: -0.650891 2.64614e-09 6.63565  
CIG\_RECN: -2.27874 -1.06741e-08 0.43883  
CA\_CCHDY: -0.101282 -3.50169e-09 9.87319  
BFEDU: -0.447842 8.56796e-09 2.23288  
intercept: 1 1 1  
Feature Analysis: min ave max  
IMORT: 0 0.5 1  
Feature Analysis: min ave max  
IMORT: 0 0.5 1  
EvalRotate keys  
colSize x rowSize = 4096 \* 16 = 65536

Bootstrap Iteration: 0 \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
terminate called after throwing an instance of ‘lbcrypto::OpenFHEException’  
what(): /usr/local/include/openfhe/pke/schemebase/base-scheme.h:l.1214:EvalSumRows(): Input evaluation key map is empty  
Aborted (core dumped)  
"

Please help me with this situation!  
P.S. I am using openfhe 1.1.4 version.

---

<div class="post-metadata">

**Author:** ![ypolyakov](https://yyz1.discourse-cdn.com/flex031/user_avatar/openfhe.discourse.group/ypolyakov/32/47_2.png) [@ypolyakov](https://openfhe.discourse.group/u/ypolyakov)\
**Post date:** [May 24, 2024, 9:17pm UTC](https://openfhe.discourse.group/t/l-1214-evalsumrows-input-evaluation-key-map-is-empty/1294/2 "2024-05-24T21:17:55Z")

</div>

It is a known bug in v1.1.4. There is a github issue for it: [EvalSumRowsKeyGen()/EvalSumColsKeyGen() incorrect behavior · Issue #773 · openfheorg/openfhe-development · GitHub](https://github.com/openfheorg/openfhe-development/issues/773) We will fix it in v1.2.0 (to be released within 2-3 weeks). It works correctly in v1.1.2. Also, there are multiple topics on this bug in the Discourse forum, e.g., [Error in EvalSumRows "Input evaluation key map is empty" - #3 by ManhBui](https://openfhe.discourse.group/t/error-in-evalsumrows-input-evaluation-key-map-is-empty/1186/3)
