소스 검색

example: Use correct arthimetic display

Ole Krüger 10 년 전
부모
커밋
313b7a2c2b
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      examples/stack.cpp

+ 1 - 1
examples/stack.cpp

@@ -25,7 +25,7 @@ int main() {
 	std::cout << "c = " << Value<double>::read(state, 3) << std::endl;
 
 	// ... which is a little cumbersome. Instead we might apply a fitting function to our stack.
-	std::cout << "a + b + c = "
+	std::cout << "(a + b) * c = "
 	          << apply(state, sum3)
 	          << std::endl;