Skip to content

Commit 5c10c83

Browse files
committed
fix typo
1 parent 5574b19 commit 5c10c83

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

R/struct_class.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -479,7 +479,7 @@ new_struct = function(class, ...) {
479479
# convert to entity if req
480480
L=list(...)
481481
for (k in seq_len(length(L))) {
482-
isEntity = is(param_obj(obj,names(L[k])),'entity')
482+
isEntity = is(param_obj(obj,names(L)[k]),'entity')
483483

484484
# if entity and entity is not provided, replace input value with
485485
# entity and assign value

0 commit comments

Comments
 (0)