Skip to content

Commit d260e6b

Browse files
committed
Merge branch 'as-map-not-part-of-tensor-interface-anymore'
2 parents dcfa397 + 9084f31 commit d260e6b

24 files changed

+1438
-1318
lines changed

src/examples/org/tensorics/core/examples/meteo/simple/SimpleMeteoExample.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ private void getByStaticMethodsWithStaticImports() {
4141

4242
private void loopThroughEntries() {
4343
// tag::loopThroughEntries[]
44-
for (Entry<Position, Double> entry : temperatures.asMap().entrySet()) {
44+
for (Entry<Position, Double> entry : Tensorics.mapFrom(temperatures).entrySet()) {
4545
Position position = entry.getKey();
4646
double value = entry.getValue();
4747
System.out.println(position + "\t->\t" + value);

0 commit comments

Comments
 (0)